From: Shan Wei Date: Fri, 12 Nov 2010 07:51:55 +0000 (+0100) Subject: netfilter: ipv6: fix overlap check for fragments X-Git-Tag: v2.6.37-rc2~20^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e091e5253da1e9ad7c0a82c2c84446fc403efe;p=pandora-kernel.git netfilter: ipv6: fix overlap check for fragments The type of FRAG6_CB(prev)->offset is int, skb->len is *unsigned* int, and offset is int. Without this patch, type conversion occurred to this expression, when (FRAG6_CB(prev)->offset + prev->len) is less than offset. Signed-off-by: Shan Wei Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed