nl80211: fix locking in nl80211_set_tx_bitrate_mask()
stable inclusion from stable-v5.10.118 commit 3a6dee284fa03fcfe45b869e7a29e46541bde42a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L686 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3a6dee284fa03fcfe45b869e7a29e46541bde42a -------------------------------- [ Upstream commit f971e188 ] This accesses the wdev's chandef etc., so cannot safely be used without holding the lock. Signed-off-by:Johannes Berg <johannes.berg@intel.com> Link: https://lore.kernel.org/r/20220506102136.06b7205419e6.I2a87c05fbd8bc5e565e84d190d4cfd2e92695a90@changeid Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment