ifb: use netif_receive_skb() instead of netif_rx()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 14 Dec 2010 22:39:58 +0000 (22:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 05:44:30 +0000 (21:44 -0800)
commit1a75972c61f2c224eb5283c183f9f6b17fb09b6b
tree980ba3d77376e34cbbef36336ad9c2c4b351c317
parentd1ed113f1669390da9898da3beddcc058d938587
ifb: use netif_receive_skb() instead of netif_rx()

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