From: Johannes Berg Date: Thu, 12 May 2011 13:07:15 +0000 (+0200) Subject: mac80211: fix another key non-race X-Git-Tag: v3.0-rc1~377^2~54^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb231530f03961b55aa4e84e6ead5590bcde04d;p=pandora-kernel.git mac80211: fix another key non-race The code here is only not racy because all the places that assign the pointers it uses are holding the sta_mtx as well as the key_mtx and so can't race against this because this code holds the sta_mtx. But that's not intuitive, so fix it to hold the key_mtx. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed