diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-09 16:45:37 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-16 14:53:22 -0400 |
commit | 3a245766901a9dfdc3f53457a7954b369b50f281 (patch) | |
tree | 33bc4ef4dfb1bdf0eec46d320fd4333f55dffaf8 /drivers/video/uvesafb.c | |
parent | 51e8b885902fc8cc2ded48322ad9402bbcff23fe (diff) |
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 'drivers/video/uvesafb.c')
0 files changed, 0 insertions, 0 deletions