summaryrefslogtreecommitdiff
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2023-06-19 16:26:50 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-06-21 15:01:28 +0300
commitb8b80770b26c4591f20f1cde3328e5f1489c4488 (patch)
tree1da25d0e17d541cc8f35e7e834094a5f9cc3aefd /net/mac80211/util.c
parent4484de23ba22e3023e9cbe4246a927ffb00db56f (diff)
downloadlinux-b8b80770b26c4591f20f1cde3328e5f1489c4488.tar.xz
wifi: mac80211: avoid lockdep checking when removing deflink
struct sta_info may be removed without holding sta_mtx if it has not yet been inserted. To support this, only assert that the lock is held for links other than the deflink. This fixes lockdep issues that may be triggered in error cases. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230619161906.cdd81377dea0.If5a6734b4b85608a2275a09b4f99b5564d82997f@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions