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

[ Upstream commit 22d3a3c829 ]

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: Jean Trivelly <jean.trivelly@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Johannes Berg 2015-05-19 15:40:21 +02:00 • committed by Sasha Levin
commit 6cf5b617a1
2 changed files with 6 additions and 2 deletions