projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcefbe9
)
mac802154: use kfree_skb() instead of dev_kfree_skb()
author
Alan Ott
<alan@signal11.us>
Thu, 29 Nov 2012 18:25:11 +0000
(18:25 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 30 Nov 2012 17:19:24 +0000
(12:19 -0500)
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>
net/mac802154/tx.c
patch
|
blob
|
history
diff --git
a/net/mac802154/tx.c
b/net/mac802154/tx.c
index db639140afc6735bcf7d2fc48d1b0a56ccb4460a..4e09d070995a129a065b33eb15c0c729913b4365 100644
(file)
--- 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;
}