diff options
author | Gregory Greenman | 2023-04-16 15:47:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-20 11:51:54 +0100 |
commit | c56aed37b6718ea3319037ffc27f9d586dfc48b0 (patch) | |
tree | 9007eeca308964f04734a82c7580bbffb4aadfcc /sound/isa/opl3sa2.c | |
parent | 6d88d4b1bb42d5327bcc56a7347c3677d76a4ba8 (diff) |
wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
[ Upstream commit 5af2bb3168db6b0af9988eb25cccf2e3bc4455e2 ]
When rx/tx queues are being freed, on a different CPU there could be
still rx flow running. Call napi_synchronize() to prevent such a race.
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Co-developed-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20230416154301.5171ee44dcc1.Iff18718540da412e084e7d8266447d40730600ed@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Stable-dep-of: 37fb29bd1f90 ("wifi: iwlwifi: pcie: synchronize IRQs before NAPI")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/isa/opl3sa2.c')
0 files changed, 0 insertions, 0 deletions