]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: nl80211: hold wdev mutex for tid config
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:43:37 +0000 (12:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 09:14:04 +0000 (11:14 +0200)
commit6306326af6f677e8b50035ff5130595209736344
treeceec21aa407037e9d19df6f5c45f179776626657
parent79eca7db9dd140f1e656578d63f34e8d33b7d80c
wifi: nl80211: hold wdev mutex for tid config

We need wdev_chandef() in this code, which now requires
the wdev mutex due to the per-link nature. Hold it here
to make sure we can access the link.

Reported-by: syzbot+b4e9aa0f32ffd9902442@syzkaller.appspotmail.com
Fixes: d624b47de5de ("wifi: cfg80211: do some rework towards MLO link APIs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c