]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] iseries_veth: Remove a FIXME WRT deletion of the ack_timer
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 1 Sep 2005 01:28:59 +0000 (11:28 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Sep 2005 02:37:56 +0000 (22:37 -0400)
commitabfda4719c61550be4efaf277d4a904a7930d410
tree868c89f3f74f3771a336bca4c9abcbc75e61105c
parent61a3c6966158dfd9b1279c10ea8eeb3bc7acdef4
[PATCH] iseries_veth: Remove a FIXME WRT deletion of the ack_timer

The iseries_veth driver has a timer which we use to send acks. When the
connection is reset or stopped we need to delete the timer.

Currently we only call del_timer() when resetting a connection, which means
the timer might run again while the connection is being re-setup. As it turns
out that's ok, because the flags the timer consults have been reset.

It's cleaner though to call del_timer_sync() once we've dropped the lock,
although the timer may still run between us dropping the lock and calling
del_timer_sync(), but as above that's ok.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/iseries_veth.c