diff options
author | Ben Greear <greearb@candelatech.com> | 2013-06-12 14:08:44 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-13 10:27:07 +0200 |
commit | e562078a19226660299eeaf40a50752672214f11 (patch) | |
tree | 09e911481176393b8e47913a594fce34828fb8a9 /net/mac80211/sta_info.h | |
parent | 661eb3811df568161399af0048f1ecb4ac073687 (diff) | |
download | talos-obmc-linux-e562078a19226660299eeaf40a50752672214f11.tar.gz talos-obmc-linux-e562078a19226660299eeaf40a50752672214f11.zip |
mac80211: Ensure tid_start_tx is protected by sta->lock
All accesses of the tid_start_tx lock should be protected
by sta->lock if there is any chance that another thread
could still be accessing the sta object.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index bd12fc54266c..4208dbd5861f 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -203,6 +203,7 @@ struct tid_ampdu_rx { * driver requested to close until the work for it runs * @mtx: mutex to protect all TX data (except non-NULL assignments * to tid_tx[idx], which are protected by the sta spinlock) + * tid_start_tx is also protected by sta->lock. */ struct sta_ampdu_mlme { struct mutex mtx; |