aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-05-12 18:09:45 +1000
committerJeff Garzik <jgarzik@pobox.com>2005-05-15 18:08:06 -0400
commitb2e0852e1eee7c445b1789bef41204b64f981102 (patch)
treea1c0465f681b7aae24d0ade106f68593e74a8346 /scripts
parent[PATCH] iseries_veth: Don't leak skbs in RX path (diff)
downloadlinux-b2e0852e1eee7c445b1789bef41204b64f981102.tar.gz
linux-b2e0852e1eee7c445b1789bef41204b64f981102.zip
[PATCH] iseries_veth: Cleanup skbs to prevent unregister_netdevice() hanging
Hi Andrew, Jeff, The iseries_veth driver is badly behaved in that it will keep TX packets hanging around forever if they're not ACK'ed and the queue never fills up. This causes the unregister_netdevice code to wait forever when we try to take the device down, because there's still skbs around with references to our struct net_device. There's already code to cleanup any un-ACK'ed packets in veth_stop_connection() but it's being called after we unregister the net_device, which is too late. The fix is to rearrange the module exit function so that we cleanup any outstanding skbs and then unregister the driver. Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions