]> Pileus Git - ~andy/linux/commit
mac80211: fix virtual monitor interface locking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 21:25:17 +0000 (22:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 21:26:35 +0000 (22:26 +0100)
commit8b305780ed0c49a49c6bd58a4372fd6b22a5a71e
tree865d7c5105a504f5466d68456770d2e54525954c
parentce1eadda6badef9e4e3460097ede674fca47383d
mac80211: fix virtual monitor interface locking

The virtual monitor interface has a locking issue, it calls
into the channel context code with the iflist mutex held
which isn't allowed since it is usually acquired the other
way around. The mutex is still required for the interface
iteration, but need not be held across the channel calls.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c