]> git.baikalelectronics.ru Git - kernel.git/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)
commit85c313b3809e9cda4f5fe7f317bc6b211c90078a
tree865d7c5105a504f5466d68456770d2e54525954c
parentc24f8f70c1c8c5d486099525a80faaeee1c2984d
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