Merge branch 'rxrpc-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Feb 2024 12:34:07 +0000 (12:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Feb 2024 12:34:07 +0000 (12:34 +0000)
commit645eb54331edb0dc0297c7e37162a3846bf99300
tree296a30ed0b16d29b94b1be94aaf73faa6653d971
parentfdeba0b57d61b40a708de361294fde3e1495588d
parent41b7fa157ea1c8c3a575ca7f5f32034de9bee3ae
Merge branch 'rxrpc-fixes'

David Howells says:

====================
rxrpc: Miscellaneous fixes

Here some miscellaneous fixes for AF_RXRPC:

 (1) The zero serial number has a special meaning in an ACK packet serial
     reference, so skip it when assigning serial numbers to transmitted
     packets.

 (2) Don't set the reference serial number in a delayed ACK as the ACK
     cannot be used for RTT calculation.

 (3) Don't emit a DUP ACK response to a PING RESPONSE ACK coming back to a
     call that completed in the meantime.

 (4) Fix the counting of acks and nacks in ACK packet to better drive
     congestion management.  We want to know if there have been new
     acks/nacks since the last ACK packet, not that there are still
     acks/nacks.  This is more complicated as we have to save the old SACK
     table and compare it.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>