• Michael Ellerman's avatar
    [PATCH] iseries_veth: Add a per-connection ack timer · 24562ffa
    Michael Ellerman authored
    Currently the iseries_veth driver contravenes the specification in
    Documentation/networking/driver.txt, in that if packets are not acked by
    the other LPAR they will sit around forever.
    
    This patch adds a per-connection timer which fires if we've had no acks for
    five seconds. This is superior to the generic TX timer because it catches
    the case of a small number of packets being sent and never acked.
    
    This fixes a bug we were seeing on real systems, where some IPv6 neighbour
    discovery packets would not be acked and then prevent the module from being
    removed, due to skbs lying around.
    Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    24562ffa
iseries_veth.c 37.9 KB