Commit a8ebe549 authored by Gregory Greenman's avatar Gregory Greenman Committed by Greg Kroah-Hartman
Browse files

wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues



[ Upstream commit 5af2bb31 ]

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: default avatarGregory Greenman <gregory.greenman@intel.com>
Co-developed-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Signed-off-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20230416154301.5171ee44dcc1.Iff18718540da412e084e7d8266447d40730600ed@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Stable-dep-of: 37fb29bd ("wifi: iwlwifi: pcie: synchronize IRQs before NAPI")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 627a3b3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment