diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-19 08:40:52 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-25 09:00:39 +0200 |
commit | 6b348f6e34ce7dc5eb68066377d5e38780ce4095 (patch) | |
tree | 47613ba385c2a2fcfd787ca8925b2108cfbe2303 /net/mac80211/cfg.c | |
parent | 5b43bd71f4942afa79b0683f4f41b1d47a21a9c7 (diff) | |
download | lwn-6b348f6e34ce7dc5eb68066377d5e38780ce4095.tar.gz lwn-6b348f6e34ce7dc5eb68066377d5e38780ce4095.zip |
wifi: mac80211: ethtool: always hold wiphy mutex
Drivers should really be able to rely on the wiphy mutex
being held all the time, unless otherwise documented. For
ethtool, that wasn't quite right. Fix and clarify this in
both code and documentation.
Reported-by: syzbot+c12a771b218dcbba32e1@syzkaller.appspotmail.com
Fixes: 0e8185ce1dde ("wifi: mac80211: check wiphy mutex in ops")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions