diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c index db639140afc6735bcf7d2fc48d1b0a56ccb4460a..4e09d070995a129a065b33eb15c0c729913b4365 100644 --- a/net/mac802154/tx.c +++ b/net/mac802154/tx.c @@ -99,7 +99,7 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb, } if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) { - dev_kfree_skb(skb); + kfree_skb(skb); return NETDEV_TX_OK; }