Messages in this thread |  | | | Date | Sat, 05 Jan 2008 23:15:24 -0800 (PST) | | Subject | Re: sparc oops in ip_fast_csum | | From | David Miller <> | |
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sun, 06 Jan 2008 11:22:04 +1100
> [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 <herbert@gondor.apana.org.au>
Applied, I'll push this to -stable too, thanks Herbert.
|  |