]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit360f77c06e817f55d60b1c73be24b5e3e425e5ae
treed8961aabf48478add145e56acc0683fec328f9b1
parent80e10d02ad7a6625ce774cfbe9f382befa8a87cf
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