Replace consume_skb with dev_consume_skb_any in ieee802154_xmit_complete which can be called in hard irq and other contexts. Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> --- net/mac802154/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac802154/util.c b/net/mac802154/util.c index 150bf80..315601e 100644 --- a/net/mac802154/util.c +++ b/net/mac802154/util.c @@ -86,10 +86,10 @@ void ieee802154_xmit_complete(struct ieee802154_hw *hw, struct sk_buff *skb, ktime_set(0, hw->phy->sifs_period * NSEC_PER_USEC), HRTIMER_MODE_REL); - consume_skb(skb); + dev_consume_skb_any(skb); } else { ieee802154_wake_queue(hw); - consume_skb(skb); + dev_consume_skb_any(skb); } } EXPORT_SYMBOL(ieee802154_xmit_complete); -- 2.3.7 -- 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