summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-06-03 23:32:32 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-06-04 15:26:54 -0400
commit794454ce72a298de6f4536ade597bdcc7dcde7c7 (patch)
treeab62bbcb9bb3ea3009bcc15c445e9477da7128c5 /net/mac802154
parent69aaedd3cfd23b2c732e3cf1227370a35f5c89d4 (diff)
downloadlinux-794454ce72a298de6f4536ade597bdcc7dcde7c7.tar.gz
linux-794454ce72a298de6f4536ade597bdcc7dcde7c7.tar.bz2
linux-794454ce72a298de6f4536ade597bdcc7dcde7c7.zip
mac80211: fix non RCU-safe sta_list manipulation
sta_info_cleanup locks the sta_list using rcu_read_lock however the delete operation isn't rcu safe. A race between sta_info_cleanup timer being called and a STA being removed can occur which leads to a panic while traversing sta_list. Fix this by switching to the RCU-safe versions. Cc: stable@vger.kernel.org Reported-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions