Files
linux/net/mac80211
Johannes Berg db4d1169d0 mac80211: split ieee80211_key_alloc/free
In order to RCU-ify sta_info, we need to be able to allocate
a key without linking it to an sdata/sta structure (because
allocation cannot be done in an rcu critical section). This
patch splits up ieee80211_key_alloc() and updates all users
appropriately.

While at it, this patch fixes a number of race conditions
such as finally making key replacement atomic, unfortunately
at the expense of more complex code.

Note that this patch documents /existing/ bugs with sta info
and key interaction, there is currently a race condition
when a sta info is freed without holding the RTNL. This will
finally be fixed by a followup patch.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-02-29 15:42:04 -05:00
..
2007-11-02 08:47:06 +01:00
2008-02-29 15:42:04 -05:00
2007-05-05 11:46:38 -07:00
2008-02-29 15:41:41 -05:00
2008-02-05 14:35:47 -05:00
2008-02-29 15:42:04 -05:00
2008-02-29 15:37:26 -05:00
2007-10-10 16:53:16 -07:00
2007-10-10 16:53:16 -07:00
2008-02-29 15:41:32 -05:00
2008-02-29 15:37:02 -05:00
2008-02-29 15:37:01 -05:00
2008-02-29 15:19:17 -05:00
2008-02-29 15:37:02 -05:00
2008-02-29 15:37:01 -05:00