projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e890a1
)
mac80211: warn if unhashing station fails
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 4 Dec 2013 19:25:27 +0000
(20:25 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 5 Dec 2013 13:57:16 +0000
(14:57 +0100)
This shouldn't be happening, so warn if it does, since we'd
then leak a station entry.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/sta_info.c
b/net/mac80211/sta_info.c
index 8ed97f76c3cfade5f0986fa2d17c8275753b3c35..8ae37f60d60c0c03d6d1201cbdcea5ed4662ea83 100644
(file)
--- a/
net/mac80211/sta_info.c
+++ b/
net/mac80211/sta_info.c
@@
-868,7
+868,7
@@
int __must_check __sta_info_destroy(struct sta_info *sta)
ieee80211_sta_tear_down_BA_sessions(sta, AGG_STOP_DESTROY_STA);
ret = sta_info_hash_del(local, sta);
- if (
ret
)
+ if (
WARN_ON(ret)
)
return ret;
list_del_rcu(&sta->list);