summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg2008-04-09 16:45:37 +0200
committerJohn W. Linville2008-04-16 20:53:22 +0200
commit3a245766901a9dfdc3f53457a7954b369b50f281 (patch)
tree33bc4ef4dfb1bdf0eec46d320fd4333f55dffaf8 /net/mac80211/cfg.c
parentssb-pcicore: Remove b44 TPS flag workaround (diff)
downloadkernel-qcow2-linux-3a245766901a9dfdc3f53457a7954b369b50f281.tar.gz
kernel-qcow2-linux-3a245766901a9dfdc3f53457a7954b369b50f281.tar.xz
kernel-qcow2-linux-3a245766901a9dfdc3f53457a7954b369b50f281.zip
mac80211: fix key hwaccel race
The previous key locking patch left a small race: it would be possible to add a key and take the interface down before the key todo is run so that hwaccel for that key is enabled on an interface that is down. Avoid this by running the todo list when an interface is brought up or down. This patch also fixes a small bug: before this change, a few functions used the key list without the lock that protects it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions