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
@ -686,10 +686,10 @@ ip_input(struct mbuf *m)
|
||||
#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 New Issue
Block a user