From: Arik Nemtsov Date: Wed, 22 Jun 2011 21:00:24 +0000 (+0300) Subject: mac80211: fix rx->key NULL dereference during mic failure X-Git-Tag: v3.0-rc7~41^2~22^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66b98db570a638afd909459e1e6bfa272344bd3;p=pandora-kernel.git 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 Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed