From: Shan Wei Date: Fri, 5 Nov 2010 01:56:34 +0000 (+0000) Subject: ipv6: fix overlap check for fragments X-Git-Tag: v2.6.37-rc2~20^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f46421416fb6b91513fb687d6503142cd99034a5;p=pandora-kernel.git 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: David S. Miller --- Reading git-diff-tree failed