epic100: hamachi: yellowfin: Fix skb allocation size
authorJarek Poplawski <jarkao2@gmail.com>
Sat, 25 Dec 2010 07:39:59 +0000 (07:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:37:49 +0000 (19:37 -0800)
commit7a36df8a857edee8cd8967cbe99a85574d22f482
treef0db8b481d9f721be896af6b8c3bdb0448778b4a
parent78a36f25478432835f2f1e46202b71ff3ae454ff
epic100: hamachi: yellowfin: Fix skb allocation size

Joel Soete reported oopses during pppoe over sundance NIC, caused by
a bug in skb allocation and dma mapping code, where skb_reserve()
bytes weren't taken into account. As a followup to the patch:
"sundance: Fix oopses with corrupted skb_shared_info" very similar
code is fixed here for three other drivers.

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