summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorAlan Ott <alan@signal11.us>2012-11-29 18:25:11 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-30 12:19:24 -0500
commit92a2ec72a7dbb84f4b614c9b72880d86db69475f (patch)
treea86002a08cd1414b4d66ff6a5b77231db6bb43c5 /net/mac802154
parentfcefbe9fcb3b0d72c91629f7fcf7ea09a46ab2c1 (diff)
downloadop-kernel-dev-92a2ec72a7dbb84f4b614c9b72880d86db69475f.zip
op-kernel-dev-92a2ec72a7dbb84f4b614c9b72880d86db69475f.tar.gz
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 <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
-rw-r--r--net/mac802154/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c
index db63914..4e09d07 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;
}
OpenPOWER on IntegriCloud