Re: sparc oops in ip_fast_csum

From: Al Viro
Date: Sat Jan 05 2008 - 04:44:34 EST


On Fri, Jan 04, 2008 at 06:37:36PM +0100, Mariusz Kozlowski wrote:
> Hello,
>
> This comes from the Linus latest linux-2.6 tree. Randomly happened.
> Can't reproduce that. More info below.

ip_fast_csum() called from raw_send_hdrinc() from raw_sendmsg() ran through
the page boundary into unmapped page... Bloody odd, that, seeing that
we have checked iph->ihl * 4U <= length and had done
err = memcpy_fromiovecend((void *)iph, from, 0, length);
before the
iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
that had triggered that crap..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/