mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 05:32:15 -04:00
Don't assume checksums will be calculated later when fastfoward is
enabled (by default in r290383). PR: 72210 MFC after: 1 week
This commit is contained in:
parent
cc684f839e
commit
ec992425dc
1 changed files with 2 additions and 2 deletions
|
|
@ -5123,7 +5123,7 @@ ipf_nat_out(fin, nat, natadd, nflags)
|
|||
ipf_fix_outcksum(0, &fin->fin_ip->ip_sum, msumd, 0);
|
||||
}
|
||||
#if !defined(_KERNEL) || defined(MENTAT) || defined(__sgi) || \
|
||||
defined(linux) || defined(BRIDGE_IPF)
|
||||
defined(linux) || defined(BRIDGE_IPF) || defined(__FreeBSD__)
|
||||
else {
|
||||
/*
|
||||
* Strictly speaking, this isn't necessary on BSD
|
||||
|
|
@ -5235,7 +5235,7 @@ ipf_nat_out(fin, nat, natadd, nflags)
|
|||
uh->uh_ulen += fin->fin_plen;
|
||||
uh->uh_ulen = htons(uh->uh_ulen);
|
||||
#if !defined(_KERNEL) || defined(MENTAT) || defined(__sgi) || \
|
||||
defined(linux) || defined(BRIDGE_IPF)
|
||||
defined(linux) || defined(BRIDGE_IPF) || defined(__FreeBSD)
|
||||
ipf_fix_outcksum(0, &ip->ip_sum, sumd, 0);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue