From: Herbert Xu Date: Sun, 6 Jan 2008 07:14:44 +0000 (-0800) Subject: [IPV4] raw: Strengthen check on validity of iph->ihl X-Git-Tag: v2.6.24-rc8~54^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f844c74fe07321953e2dd227fe35280075f18f60;p=pandora-kernel.git [IPV4] raw: Strengthen check on validity of iph->ihl We currently check that iph->ihl is bounded by the real length and that the real length is greater than the minimum IP header length. However, we did not check the caes where iph->ihl is less than the minimum IP header length. This breaks because some ip_fast_csum implementations assume that which is quite reasonable. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed