projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7ba24
)
mac80211: use kfree_skb() to free struct sk_buff pointers
author
Roel Kluin
<
[email protected]
>
Tue, 6 Oct 2009 13:52:35 +0000
(15:52 +0200)
committer
John W. Linville
<
[email protected]
>
Wed, 7 Oct 2009 20:33:51 +0000
(16:33 -0400)
kfree_skb() should be used to free struct sk_buff pointers.
Signed-off-by: Roel Kluin <
[email protected]
>
Acked-by: Johannes Berg <
[email protected]
>
Cc:
[email protected]
Signed-off-by: John W. Linville <
[email protected]
>
net/mac80211/util.c
patch
|
blob
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index dd6564321369cf519f2310bc0fdea26c95a89fbc..aeb65b3d2295a7a3c99c279a3e669e583c282e5e 100644
(file)
--- a/
net/mac80211/util.c
+++ b/
net/mac80211/util.c
@@
-339,7
+339,7
@@
void ieee80211_add_pending_skb(struct ieee80211_local *local,
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
if (WARN_ON(!info->control.vif)) {
- kfree(skb);
+ kfree
_skb
(skb);
return;
}
@@
-367,7
+367,7
@@
int ieee80211_add_pending_skbs(struct ieee80211_local *local,
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
if (WARN_ON(!info->control.vif)) {
- kfree(skb);
+ kfree
_skb
(skb);
continue;
}