Re: [PATCH net-2.6] sundance: Fix oopses with corruptedskb_shared_info

From: David Miller
Date: Sat Dec 25 2010 - 22:41:57 EST


From: Jarek Poplawski <jarkao2@xxxxxxxxx>
Date: Sat, 25 Dec 2010 16:12:17 +0100

> [PATCH net-2.6] sundance: Fix oopses with corrupted skb_shared_info
>
> Joel Soete reported oopses at the beginning of pppoe connections since
> v2.6.35. After debugging the bug was found in sundance skb allocation
> and dma mapping code, where skb_reserve() bytes aren't taken into
> account. This is an old bug, only uncovered by some change in 2.6.35.
>
> Initial debugging patch by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
>
> Reported-by: Joel Soete <soete.joel@xxxxxxxxxx>
> Tested-by: Joel Soete <soete.joel@xxxxxxxxxx>
> Signed-off-by: Jarek Poplawski <jarkao2@xxxxxxxxx>
> Cc: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Applied, great work Jarek.

I was auditing ppp_generic.c hoping I'd find something, but
if I had that backtrace I wouldn't have bothered :-)
--
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/