• Michael Ellerman's avatar
    [PATCH] iseries_veth: Remove a FIXME WRT deletion of the ack_timer · abfda471
    Michael Ellerman authored
    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: default avatarMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    abfda471
iseries_veth.c 36.2 KB