Eliad Peller ef044763a3 mac80211: add atomic uploaded keys iterator
add ieee80211_iter_keys_rcu() to iterate over uploaded
keys in atomic context (when rcu is locked)

The station removal code removes the keys only after
calling synchronize_net(), so it's not safe to iterate
the keys at this point (and postponing the actual key
deletion with call_rcu() might result in some
badly-ordered ops calls).

Add a flag to indicate a station is being removed,
and skip the configured keys if it's set.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-12-04 14:43:32 +01:00
..
2015-10-13 17:42:34 +02:00
2015-11-22 11:54:10 -05:00
2015-11-02 15:38:26 -05:00
2015-11-02 22:47:14 -05:00
2015-11-22 11:54:10 -05:00
2015-10-23 03:05:19 -07:00
2015-10-07 04:27:43 -07:00
2015-10-27 19:52:59 -07:00
2015-11-17 15:25:44 -05:00