diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-05-12 15:07:15 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-12 14:10:54 -0400 |
commit | 8cb231530f03961b55aa4e84e6ead5590bcde04d (patch) | |
tree | 62e94c7423bbb073640fe4fe8454ba5135b0ebc8 /net/mac80211/main.c | |
parent | 5c0c36412b2dc6b1e243c7e9115306fe286583b7 (diff) |
mac80211: fix another key non-race
The code here is only not racy because all the
places that assign the pointers it uses are
holding the sta_mtx as well as the key_mtx and
so can't race against this because this code
holds the sta_mtx. But that's not intuitive,
so fix it to hold the key_mtx.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions