mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
[ Upstream commit5af2bb3168] 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:37fb29bd1f("wifi: iwlwifi: pcie: synchronize IRQs before NAPI") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6d88d4b1bb
commit
c56aed37b6
4 changed files with 20 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue