From: Wei Yongjun Date: Sat, 26 Jul 2008 10:59:10 +0000 (+0100) Subject: dccp: Fix incorrect length check for ICMPv4 packets X-Git-Tag: v2.6.27-rc1~33^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e1d836002ad970f42736bad09b7be9cfe99545;p=pandora-kernel.git 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 Signed-off-by: Gerrit Renker --- Reading git-diff-tree failed