net: Fix napi_gro_frags vs netpoll path
authorJarek Poplawski <jarkao2@gmail.com>
Thu, 5 Aug 2010 01:19:11 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2010 20:21:25 +0000 (13:21 -0700)
commitce9e76c8450fc248d3e1fc16ef05e6eb50c02fa5
treebd46dd603d5e5fdc0288bc032808be6c7308112d
parent23d23e409a51a3eaad17a8045d30fd9cf8fb8a03
net: Fix napi_gro_frags vs netpoll path

The netpoll_rx_on() check in __napi_gro_receive() skips part of the
"common" GRO_NORMAL path, especially "pull:" in dev_gro_receive(),
where at least eth header should be copied for entirely paged skbs.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c