mac80211: sync acccess to tx_filtered/ps_tx_buf queues
authorArik Nemtsov <arik@wizery.com>
Mon, 5 Nov 2012 08:27:52 +0000 (10:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 13:19:55 +0000 (14:19 +0100)
commit987c285c2ae2e4e32aca3a9b3252d28171c75711
tree4002d4e6567005eb594b494c0e08424fa5eb2511
parentbca1e29fb54c51856dda6772d488d41b10ed91da
mac80211: sync acccess to tx_filtered/ps_tx_buf queues

These are accessed without a lock when ending STA PSM. If the
sta_cleanup timer accesses these lists at the same time, we might crash.

This may fix some mysterious crashes we had during
ieee80211_sta_ps_deliver_wakeup.

Cc: stable@vger.kernel.org
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c