From: Arik Nemtsov Date: Sun, 3 Jun 2012 20:32:32 +0000 (+0300) Subject: mac80211: fix non RCU-safe sta_list manipulation X-Git-Tag: v3.5-rc3~22^2~10^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=794454ce72a298de6f4536ade597bdcc7dcde7c7;p=pandora-kernel.git 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 Signed-off-by: Arik Nemtsov Signed-off-by: John W. Linville --- Reading git-diff-tree failed