Commit 6cf5b617 authored by Johannes Berg's avatar Johannes Berg Committed by Sasha Levin
Browse files

mac80211: don't use napi_gro_receive() outside NAPI context



[ Upstream commit 22d3a3c8 ]

No matter how the driver manages its NAPI context, there's no way
sending frames to it from a timer can be correct, since it would
corrupt the internal GRO lists.

To avoid that, always use the non-NAPI path when releasing frames
from the timer.

Cc: stable@vger.kernel.org
Reported-by: default avatarJean Trivelly <jean.trivelly@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 1007d143
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment