Merge branch 'rxrpc-ack-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Nov 2023 02:50:33 +0000 (02:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Nov 2023 02:50:33 +0000 (02:50 +0000)
commit3c15504a97a1bcabec5459e604dcc20c7313c8ea
treeabe729bb13330d554adb393ab1f08bc2cb35b7bb
parent75a50c4f5b957a34dedb7c8cce52b582a9162828
parent1a01319feef7047aa2ba400ffa3e047776aa29ca
Merge branch 'rxrpc-ack-fixes'

David Howells says:

====================
rxrpc: ACK handling fixes

Here are a couple of patches to fix ACK handling in AF_RXRPC:

 (1) Allow RTT determination to use an ACK of any type as the response from
     which to calculate RTT, provided ack.serial matches the serial number
     of the outgoing packet.

 (2) Defer the response to a PING ACK packet (or any ACK with the
     REQUEST_ACK flag set) until after we've parsed the packet so that we
     carry up to date information if the Tx or Rx rings are advanced.
====================

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