summaryrefslogtreecommitdiff
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-11-24 19:25:27 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-11-27 13:24:58 +0300
commitb590b9ae1efc30e52f81d95cdb2519a4c248b965 (patch)
tree15d3e56e69e51633bb335380afbf25268ea26db2 /net/mac80211/debugfs_sta.c
parent8c88a474357ead632b07c70bf7f119ace8c3b39e (diff)
downloadlinux-b590b9ae1efc30e52f81d95cdb2519a4c248b965.tar.xz
wifi: cfg80211: add locked debugfs wrappers
Add wrappers for debugfs files that should be called with the wiphy mutex held, while the file is also to be removed under the wiphy mutex. This could otherwise deadlock when a file is trying to acquire the wiphy mutex while the code removing it holds the mutex but waits for the removal. This actually works by pushing the execution of the read or write handler to a wiphy work that can be cancelled using the debugfs cancellation API. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions