From: Johannes Berg Date: Fri, 23 Jan 2009 21:54:03 +0000 (+0100) Subject: mac80211: add interface list lock X-Git-Tag: v2.6.30-rc1~662^2~836^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c771c9d8da1e8292ef8bf7fd4ce135dacc650130;p=pandora-kernel.git mac80211: add interface list lock Using only the RTNL has a number of problems, most notably that ieee80211_iterate_active_interfaces() and other interface list traversals cannot be done from the internal workqueue because it needs to be flushed under the RTNL. This patch introduces a new mutex that protects the interface list against modifications. A more detailed explanation is part of the code change. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed