]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: correct qos-map locking
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Dec 2013 22:12:37 +0000 (23:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Dec 2013 22:14:03 +0000 (23:14 +0100)
commit0e4b7bebddd01c2ecf92f99cd3852040572a63d1
treeeddb4c40ce1cc7a8aa590b1aeaf162a8a8bdba5a
parent592df5d5cb3d9938a836104f41b3d790b0a02e30
cfg80211/mac80211: correct qos-map locking

Since the RTNL can't always be held, use wdev/sdata locking for
the qos-map dereference in mac80211. This requires cfg80211 to
consistently lock it, which it was missing in one place.

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