Commit c5a7e582 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent a1845fc7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment