summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-03-17 13:11:29 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-17 13:11:29 -0700
commit303c6a0251852ecbdc5c15e466dcaff5971f7517 (patch)
treec75ff5ae3238d54e1dea0813bf3177a11faf0dd0 /include/net
parentea8dbdd17099a9a5864ebd4c87e01e657b19c7ab (diff)
gro: Fix legacy path napi_complete crash
On the legacy netif_rx path, I incorrectly tried to optimise the napi_complete call by using __napi_complete before we reenable IRQs. This simply doesn't work since we need to flush the held GRO packets first. This patch fixes it by doing the obvious thing of reenabling IRQs first and then calling napi_complete. Reported-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions