mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Wrong header length used for certain reassembled IP packets.
This was first fixed in rev 1.82 but then broken in rev 1.125. PR: 6177
This commit is contained in:
parent
302bbfaac9
commit
7e2df4520d
1 changed files with 2 additions and 2 deletions
|
|
@ -686,10 +686,10 @@ found:
|
|||
#endif
|
||||
return;
|
||||
}
|
||||
/* Get the length of the reassembled packets header */
|
||||
hlen = IP_VHL_HL(ip->ip_vhl) << 2;
|
||||
ipstat.ips_reassembled++;
|
||||
ip = mtod(m, struct ip *);
|
||||
/* Get the header length of the reassembled packet */
|
||||
hlen = IP_VHL_HL(ip->ip_vhl) << 2;
|
||||
#ifdef IPDIVERT
|
||||
/* Restore original checksum before diverting packet */
|
||||
if (divert_info != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue