summaryrefslogtreecommitdiff
path: root/lib/rwsem-spinlock.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-04 11:28:18 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-07-04 11:30:23 (GMT)
commitc5a7e582490c423f0685e42ee5cfb7c6de81adb0 (patch)
tree6eda6d23264d9f434e6e92445168e55c16ea3300 /lib/rwsem-spinlock.c
parenta1845fc7c552977e23fe552ad3f5c6c279e3d550 (diff)
downloadlinux-c5a7e582490c423f0685e42ee5cfb7c6de81adb0.tar.xz
cfg80211: fix locking regression in monitor channel tracking
Michal's monitor channel tracking introduce a locking problem as it locked the rdev lock inside the netdev notifier which isn't allowed as we might already hold it if we get there by removing an interface that is up. Fix this by relying only on the RTNL to protect the interface counters, the RTNL is always held in these code paths anyway. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions