diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-04-06 11:18:43 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-07 14:38:00 -0400 |
commit | e64b379574d6c92c15b4239ee0a5173317176547 (patch) | |
tree | f0fff7261109f18c8063f7aa38736df685fa3713 /net/mac80211/tx.c | |
parent | 1c3652a5732879263aeebe606ca7af9e66fe0b2f (diff) | |
download | op-kernel-dev-e64b379574d6c92c15b4239ee0a5173317176547.zip op-kernel-dev-e64b379574d6c92c15b4239ee0a5173317176547.tar.gz |
mac80211: fix station destruction problem
When a station w/o a key is destroyed, or when
a driver submits work for a station and thereby
references it again, it seems like potentially
we could reference the station structure while
it is being destroyed.
Wait for an RCU grace period to elapse before
finishing destroying the station after we have
removed the station from the driver and from
the hash table etc., even in the case where no
key is associated with the station.
Also, there's no point in deleting the plink
timer here since it'll be properly deleted just
a bit later.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
0 files changed, 0 insertions, 0 deletions