]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae06faaed3429f2efb8b9a0c9c63a7d0c79f6b1d
tree4002d4e6567005eb594b494c0e08424fa5eb2511
parenta2e4dc06402af8a9f659ebab9cb50258339a97c0
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