]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit78a36f25478432835f2f1e46202b71ff3ae454ff
tree46781d07ae6bc93661e8b7a802f77f37f57c725f
parente058464990c2ef1f3ecd6b83a154913c3c06f02a
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