projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ed113
)
ifb: use netif_receive_skb() instead of netif_rx()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 14 Dec 2010 22:39:58 +0000
(22:39 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Dec 2010 05:44:30 +0000
(21:44 -0800)
In ri_tasklet(), we run from softirq, so can directly handle packet
through netif_receive_skb() instead of netif_rx().
There is no risk of recursion.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ifb.c
b/drivers/net/ifb.c
index
8bcacd7
..
124dac4
100644
(file)
--- a/
drivers/net/ifb.c
+++ b/
drivers/net/ifb.c
@@
-96,7
+96,7
@@
static void ri_tasklet(unsigned long dev)
dev_queue_xmit(skb);
} else if (from & AT_INGRESS) {
skb_pull(skb, skb->dev->hard_header_len);
- netif_r
x
(skb);
+ netif_r
eceive_skb
(skb);
} else
BUG();
}