summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-11-24 17:25:27 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-11-27 11:24:58 +0100
commitb590b9ae1efc30e52f81d95cdb2519a4c248b965 (patch)
tree15d3e56e69e51633bb335380afbf25268ea26db2 /net/mac80211/debugfs_sta.c
parentdebugfs: add API to allow debugfs operations cancellation (diff)
downloadlinux-b590b9ae1efc30e52f81d95cdb2519a4c248b965.tar.xz
linux-b590b9ae1efc30e52f81d95cdb2519a4c248b965.zip
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 '')
0 files changed, 0 insertions, 0 deletions