OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8850dce
)
b44: use netdev_alloc_skb instead of dev_alloc_skb
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 20 Feb 2010 10:55:26 +0000
(10:55 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 22 Feb 2010 23:45:48 +0000
(15:45 -0800)
The conversion in
bf0dcbd929faf036f1a4f2918090344d0e249cf5
missed the
new allocation in b44_rx.
This patch was used in OpenWRT for a long time.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/b44.c
patch
|
blob
|
history
diff --git
a/drivers/net/b44.c
b/drivers/net/b44.c
index
71fa0be
..
bcb6a02
100644
(file)
--- a/
drivers/net/b44.c
+++ b/
drivers/net/b44.c
@@
-809,7
+809,7
@@
static int b44_rx(struct b44 *bp, int budget)
struct sk_buff *copy_skb;
b44_recycle_rx(bp, cons, bp->rx_prod);
- copy_skb =
dev_alloc_skb(
len + 2);
+ copy_skb =
netdev_alloc_skb(bp->dev,
len + 2);
if (copy_skb == NULL)
goto drop_it_no_recycle;