mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mac802154: use kfree_skb() instead of dev_kfree_skb()
kfree_skb() indicates failure, which is where this is being used. Signed-off-by: Alan Ott <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fcefbe9fcb
commit
92a2ec72a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue