mac802154: rx: use netif_receive_skb
authorAlexander Aring <alex.aring@gmail.com>
Wed, 29 Oct 2014 20:34:39 +0000 (21:34 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 22:07:46 +0000 (23:07 +0100)
This patch removes netif_rx_ni call. Instead we call netif_receive_skb,
we can do that since commit c5c47e67bcd24638a059b1b5e9ec18c95f8634ca
("mac802154: rx: use tasklet instead workqueue").

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c

index f15c50b97c3c0d6253ee40a223b0a58b810ca3a8..7669cdbba526a825ada8d336b4408b3c0aad6f76 100644 (file)
@@ -240,7 +240,7 @@ ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
                skb2 = skb_clone(skb, GFP_ATOMIC);
                skb2->dev = sdata->dev;
 
-               netif_rx_ni(skb2);
+               ieee802154_deliver_skb(skb2);
        }
 }