To use netif_receive_skb or netif_rx_ni depends on context. We have a tasklet which is the same like mac80211 and we should use the same net rx delivery function netif_receive_skb. Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> --- net/mac802154/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index 394601a..7c3af47 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c @@ -36,7 +36,7 @@ static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) { - return netif_rx_ni(skb); + return netif_receive_skb(skb); } static int -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html