From: Johannes Berg Date: Thu, 12 May 2011 12:31:49 +0000 (+0200) Subject: mac80211: make key locking clearer X-Git-Tag: v3.0-rc1~377^2~54^2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0c36412b2dc6b1e243c7e9115306fe286583b7;p=pandora-kernel.git mac80211: make key locking clearer The code in ieee80211_del_key() doesn't acquire the key_mtx properly when it dereferences the keys. It turns out that isn't actually necessary since the key_mtx itself seems to be redundant since all key manipulations are done under the RTNL, but as long as we have the key_mtx we should use it the right way too. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed