Search Linux Wireless

Re: [patch 7/7] b43: Fix and cleanup hwcrypto

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

 



On Fri, 2007-08-24 at 00:22 +0200, Michael Buesch wrote:

>  struct b43_key {
> -	void *keyconf;
> -	bool enabled;
> +	/* If keyconf is NULL, this key is disabled.
> +	 * keyconf is a cookie. Don't derefenrence it outside of the set_key
> +	 * path, because b43 doesn't own it. */
> +	struct ieee80211_key_conf *keyconf;

Just for clarification, you're allowed to dereference it as well if you
wish but most things you can do with it (e.g. change hw key index) are
racy.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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