diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-04 20:11:06 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 11:29:45 +0100 |
commit | a710c8160dd93e981163759aad754f758850273a (patch) | |
tree | 1b125791f1a332af6a219bca9072bd7085d28f92 /net/mac80211/status.c | |
parent | 1ddbbb0c83de82599b1baf14bf6bb69a774d4fc7 (diff) |
mac80211: move 4-addr sta pointer clearing before synchronize_rcu()
The pointer should be cleared before synchronize_rcu() so that the
consequently dead station won't be found by any lookups in the TX
or RX paths.
Also check that the station is actually the one being removed, the
check is not needed because each 4-addr VLAN can only have a single
station and non-4-addr VLANs always have a NULL pointer there, but
the code is clearer this way (and we avoid the memory write.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/status.c')
0 files changed, 0 insertions, 0 deletions