diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-02 10:36:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-09 08:52:27 +0200 |
commit | acfa9e94e2f06f8911a1d2f257880af4ad945eef (patch) | |
tree | 587abdf7e13a700076e3580bac8a1961a6a5b73b /drivers/net/sungem_phy.c | |
parent | ieee802154: verify packet size before trying to allocate it (diff) | |
download | linux-acfa9e94e2f06f8911a1d2f257880af4ad945eef.tar.xz linux-acfa9e94e2f06f8911a1d2f257880af4ad945eef.zip |
net: dont use __netdev_alloc_skb for bounce buffer
commit a1c7fff7e1 (net: netdev_alloc_skb() use build_skb()) broke b44 on
some 64bit machines.
It appears b44 and b43 use __netdev_alloc_skb() instead of alloc_skb()
for their bounce buffers.
There is no need to add an extra NET_SKB_PAD reservation for bounce
buffers :
- In TX path, NET_SKB_PAD is useless
- In RX path in b44, we force a copy of incoming frames if
GFP_DMA allocations were needed.
Reported-and-bisected-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions