diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-24 20:06:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 08:52:33 -0800 |
commit | 64a1b241dd84ed6b12b62bbb67b380609bdd50b2 (patch) | |
tree | 0d06d32d315910d8972fa159248d03068efcc605 /net/mac80211/rc80211_pid_debugfs.c | |
parent | 6cb4e0db2f318c0730f31622fc5812a19e7ff379 (diff) | |
download | kernel_samsung_aries-64a1b241dd84ed6b12b62bbb67b380609bdd50b2.zip kernel_samsung_aries-64a1b241dd84ed6b12b62bbb67b380609bdd50b2.tar.gz kernel_samsung_aries-64a1b241dd84ed6b12b62bbb67b380609bdd50b2.tar.bz2 |
mac80211: don't stop a single aggregation session twice
commit 24f50a9d165745fd0701c6e089d35f58a229ea69 upstream.
Nikolay noticed (by code review) that mac80211 can
attempt to stop an aggregation session while it is
already being stopped. So to fix it, check whether
stop is already being done and bail out if so.
Also move setting the STOPPING state into the lock
so things are properly atomic.
Reported-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/mac80211/rc80211_pid_debugfs.c')
0 files changed, 0 insertions, 0 deletions