Skip to content

Commit

Permalink
mac802154: rx: use netif_receive_skb
Browse files Browse the repository at this point in the history
This patch removes netif_rx_ni call. Instead we call netif_receive_skb,
we can do that since commit c5c47e6
("mac802154: rx: use tasklet instead workqueue").

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
alexaring authored and holtmann committed Oct 29, 2014
1 parent 1054ed8 commit 21fdf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac802154/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 21fdf0a

Please sign in to comment.