Arik Nemtsov a66b98db57 mac80211: fix rx->key NULL dereference during mic failure
Sometimes when reporting a MIC failure rx->key may be unset. This
code path is hit when receiving a packet meant for a multicast
address, and decryption is performed in HW.

Fortunately, the failing key_idx is not used for anything up to
(and including) usermode, so we allow ourselves to drop it on the
way up when a key cannot be retrieved.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-06-27 14:45:25 -04:00
..
2011-05-16 14:10:41 -04:00
2011-05-16 14:10:41 -04:00
2009-07-10 15:01:49 -04:00
2011-05-16 14:10:41 -04:00
2011-06-08 14:19:05 -04:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2011-05-16 14:25:29 -04:00
2011-05-16 14:10:41 -04:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2011-05-05 14:59:20 -04:00
2010-12-22 15:44:22 -05:00
2010-01-05 16:21:40 -05:00