]> git.baikalelectronics.ru Git - kernel.git/commit
sundance: Fix oopses with corrupted skb_shared_info
authorJarek Poplawski <jarkao2@gmail.com>
Sat, 25 Dec 2010 05:12:17 +0000 (05:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:37:49 +0000 (19:37 -0800)
commit7bb944c11ba8a165e20d3812e350442f29da0bf5
tree46781d07ae6bc93661e8b7a802f77f37f57c725f
parente882b16c0e3bb8f694a5706262629aea715b6d7f
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@gmail.com>

Reported-by: Joel Soete <soete.joel@scarlet.be>
Tested-by: Joel Soete <soete.joel@scarlet.be>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sundance.c