linux/net/mac80211/rx.c
Johannes Berg 808de02a21 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>
2015-06-03 13:27:20 +01:00

3438 lines
95 KiB