You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: #33844
Routers that send minimal RFC 1191 ICMP Error packets for MTU path
discovery only include the first two 32-bit words of the original
L4 header. This is enough to include the L4 checksum for UDP, but
not TCP; TCP needs an additional 3 32-bit words of the original
datagram. RFC 4884 provides a length field in octet 5 of the
ICMP Error packet header to indicate there are additional words
of the original datagram included.
This pays attention to the RFC 4884 length field and limits the L4
checksum update attempt to cases where there are enough bits of
the original datagram included.
This updates the current ICMP test packet generation to add
RFC 4884 extra length values and adds tests for packets
conforming strictly to RFC 1191 which include only 64 bits
of the original datagram following the embedded IP header.
Signed-off-by: Bill Reese <ReeseW@computer.org>
0 commit comments