Search Linux Wireless

Re: [PATCH] mac80211: fix rx->key NULL dereference during mic failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 22, 2011 at 23:52, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2011-06-22 at 23:41 +0300, Arik Nemtsov wrote:
>> 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@xxxxxxxxxx>
>
> It'd be nice to also update the docs for the cfg80211 function to
> document the -1 special case, but other than that:

Sure why not? :)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux