]> 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)
commit2556b26c539742b47f78e07a2ea4cf2229e49e75
tree865d7c5105a504f5466d68456770d2e54525954c
parent8bbdf8bc4a13dd8affed19e0da96302b3524404c
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