]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix CMAC races
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2011 20:00:35 +0000 (22:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:11:20 +0000 (11:11 -0400)
commit7a8fd3f93216fe480b370bdb63c50d4418c6c2b8
tree07fb506f08f3cca7d67d2fd365cc059240b6957b
parentd3d01e0e2f90cfafe86d673c960aad38bc622728
mac80211: fix CMAC races

Just like TKIP and CCMP, CMAC has the PN race.
It might not actually be possible to hit it now
since there aren't multiple ACs for management
frames, but fix it anyway.

Also move scratch buffers onto the stack.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/aes_cmac.c
net/mac80211/aes_cmac.h
net/mac80211/cfg.c
net/mac80211/debugfs_key.c
net/mac80211/key.h
net/mac80211/wpa.c