Wei Yongjun 18e1d83600 dccp: Fix incorrect length check for ICMPv4 packets
Unlike TCP, which only needs 8 octets of original packet data, DCCP requires
minimally 12 or 16 bytes for ICMP-payload sequence number checks.

This patch replaces the insufficient length constant of 8 with a two-stage
test, making sure that 12 bytes are available, before computing the basic
header length required for sequence number checks.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-07-26 11:59:10 +01:00
..
2008-06-11 11:19:09 +01:00
2008-01-28 14:57:58 -08:00
2008-01-28 14:57:59 -08:00
2008-01-28 14:54:46 -08:00
2008-07-26 11:59:10 +01:00
2008-06-11 11:19:09 +01:00