Search Linux Wireless

RE: [PATCH] mac80211: Get IV len from key conf and not cipher scheme

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

 



> From: Cedric Izoard <Cedric.Izoard@xxxxxxxxxxxx>
> To: linux-wireless@xxxxxxxxxxxxxxx <linux-wireless@xxxxxxxxxxxxxxx>
> Cc: johannes@xxxxxxxxxxxxxxxx <johannes@xxxxxxxxxxxxxxxx>
> Subject: [PATCH] mac80211: Get IV len from key conf and not cipher 
> scheme
> Date: Tue, 10 Mar 2015 08:52:23 +0000
> 
> Do not always dereference sta to get cipher scheme as it may be null 
> for broadcast messages.
> Instead get IV length from key configuration which has been 
> initialized with cipher scheme.
> 
Cedric, in general a cipher scheme was about to be used with a station holding ucast and mcast/bcast keys, so, my question is about the following line:

> +		res = ieee80211_crypto_cs_encrypt(tx, skb);
What is a point of calling this function when tx->key->sta or tx->key->sta->cipher_scheme is NULL? In which scenario?

Thanks,
Max
��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux