aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2009-06-27 02:27:04 +0000
committerDavid S. Miller <[email protected]>2009-06-27 02:27:04 +0000
commitff780cd8f2fa928b193554f593b36d1243554212 (patch)
tree451563416dc07de91d274ab696055878fd6270aa /net/ipv4/tcp_output.c
parentinet: Call skb_orphan before tproxy activates (diff)
downloadkernel-ff780cd8f2fa928b193554f593b36d1243554212.tar.gz
kernel-ff780cd8f2fa928b193554f593b36d1243554212.zip
gro: Flush GRO packets in napi_disable_pending path
When NAPI is disabled while we're in net_rx_action, we end up calling __napi_complete without flushing GRO packets. This is a bug as it would cause the GRO packets to linger, of course it also literally BUGs to catch error like this :) This patch changes it to napi_complete, with the obligatory IRQ reenabling. This should be safe because we've only just disabled IRQs and it does not materially affect the test conditions in between. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions