• David Howells's avatar
    rxrpc: Fix RTT determination to use any ACK as a source · 3798680f
    David Howells authored
    Fix RTT determination to be able to use any type of ACK as the response
    from which RTT can be calculated provided its ack.serial is non-zero and
    matches the serial number of an outgoing DATA or ACK packet.  This
    shouldn't be limited to REQUESTED-type ACKs as these can have other types
    substituted for them for things like duplicate or out-of-order packets.
    
    Fixes: 4700c4d8 ("rxrpc: Fix loss of RTT samples due to interposed ACK")
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Marc Dionne <marc.dionne@auristor.com>
    cc: "David S. Miller" <davem@davemloft.net>
    cc: Eric Dumazet <edumazet@google.com>
    cc: Jakub Kicinski <kuba@kernel.org>
    cc: Paolo Abeni <pabeni@redhat.com>
    cc: linux-afs@lists.infradead.org
    cc: netdev@vger.kernel.org
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3798680f
rxrpc.h 60.2 KB