mac80211: don't use napi_gro_receive() outside NAPI context
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 May 2015 13:40:21 +0000 (15:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 19 May 2015 13:46:21 +0000 (15:46 +0200)
commit22d3a3c829fa9ecdb493d1f1f2838d543f8d86a3
treed8961aabf48478add145e56acc0683fec328f9b1
parent47b4e1fc4972cc43a19121bc2608a60aef3bf216
mac80211: don't use napi_gro_receive() outside NAPI context

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>
net/mac80211/ieee80211_i.h
net/mac80211/rx.c
This page took 0.04225 seconds and 5 git commands to generate.