From: Johannes Berg Date: Wed, 28 Nov 2007 09:55:32 +0000 (+0100) Subject: mac80211: make ieee80211_iterate_active_interfaces not need rtnl X-Git-Tag: v2.6.25-rc1~1162^2~1302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e38bad4766a110b61fa6038f10be16ced8c6cc38;p=pandora-kernel.git mac80211: make ieee80211_iterate_active_interfaces not need rtnl Interface iteration in mac80211 can be done without holding any locks because I converted it to RCU. Initially, I thought this wouldn't be needed for ieee80211_iterate_active_interfaces but it's turning out that multi-BSS AP support can be much simpler in a driver if ieee80211_iterate_active_interfaces can be called without holding locks. This converts it to use RCU, it adds a requirement that the callback it invokes cannot sleep. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- Reading git-diff-tree failed