projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b21214
)
mac80211: fix unbalanced locking in ieee80211_get_buffered_bc
author
Tomas Winkler
<tomas.winkler@intel.com>
Mon, 2 Jun 2008 17:31:56 +0000
(20:31 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:29 +0000
(15:00 -0400)
This patch fixes unbalanced locking in ieee80211_get_buffered_bc
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/tx.c
b/net/mac80211/tx.c
index 332ddcb1068a1b937fade056f9250690c6121639..4214d039fbc6d2d4cf36e16561274450b8dfb5d8 100644
(file)
--- a/
net/mac80211/tx.c
+++ b/
net/mac80211/tx.c
@@
-2011,7
+2011,7
@@
ieee80211_get_buffered_bc(struct ieee80211_hw *hw,
}
if (WARN_ON(tx.skb != skb))
- re
turn NULL
;
+ re
s = TX_DROP
;
if (res == TX_DROP) {
I802_DEBUG_INC(local->tx_handlers_drop);