projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4ac247
)
[PATCH] mac80211: missing dev_put in ieee80211_master_start_xmit
author
Daniel Drake
<dsd@gentoo.org>
Fri, 27 Jul 2007 13:43:21 +0000
(15:43 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 6 Aug 2007 19:37:56 +0000
(15:37 -0400)
Fixes an unlikely reference leak condition.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/ieee80211.c
b/net/mac80211/ieee80211.c
index c944b17d0fc0c0c51e22a943774f8b6e3779af02..8ec5ed192b5d889f3211c6a955e656442ebd4fd9 100644
(file)
--- a/
net/mac80211/ieee80211.c
+++ b/
net/mac80211/ieee80211.c
@@
-1650,6
+1650,7
@@
static int ieee80211_master_start_xmit(struct sk_buff *skb,
if (skb_headroom(skb) < headroom) {
if (pskb_expand_head(skb, headroom, 0, GFP_ATOMIC)) {
dev_kfree_skb(skb);
+ dev_put(odev);
return 0;
}
}