Revert r349400. It has uintended effects.

Reported by:	christos@NetBSD.org
X-MFC with:	r349400.
This commit is contained in:
Cy Schubert 2019-06-30 22:27:58 +00:00
parent 8136db2894
commit a9a131902d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349567

View File

@ -1732,6 +1732,7 @@ ipf_pr_ipv4hdr(fin)
fi->fi_flx |= FI_FRAG;
off &= IP_OFFMASK;
if (off != 0) {
fin->fin_flx |= FI_FRAGBODY;
off <<= 3;
if ((off + fin->fin_dlen > 65535) ||
@ -1750,6 +1751,7 @@ ipf_pr_ipv4hdr(fin)
DT1(ipf_fi_bad_fragbody_gt_65535, fr_info_t *, fin);
}
}
}
fin->fin_off = off;
/*