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

commit 22d3a3c829 upstream.

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.

Reported-by: Jean Trivelly <jean.trivelly@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Johannes Berg 2015-05-19 15:40:21 +02:00 • committed by Luis Henriques
commit 808de02a21
2 changed files with 6 additions and 2 deletions