Merge tag 'rxrpc-fixes-20200520' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 22:53:30 +0000 (15:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 22:53:30 +0000 (15:53 -0700)
commit4629ed2e481b2af421ccb2ca3ba6e6b541789f5a
tree56e58d926d4553ccb781eb270287ae6f200137e0
parent79dde73cf9bcf1dd317a2667f78b758e9fe139ed
parent441fdee1eaf050ef0040bde0d7af075c1c6a6d8b
Merge tag 'rxrpc-fixes-20200520' of git://git./linux/kernel/git/dhowells/linux-fs

David Howells says:

====================
rxrpc: Fix retransmission timeout and ACK discard

Here are a couple of fixes and an extra tracepoint for AF_RXRPC:

 (1) Calculate the RTO pretty much as TCP does, rather than making
     something up, including an initial 4s timeout (which causes return
     probes from the fileserver to fail if a packet goes missing), and add
     backoff.

 (2) Fix the discarding of out-of-order received ACKs.  We mustn't let the
     hard-ACK point regress, nor do we want to do unnecessary
     retransmission because the soft-ACK list regresses.  This is not
     trivial, however, due to some loose wording in various old protocol
     specs, the ACK field that should be used for this sometimes has the
     wrong information in it.

 (3) Add a tracepoint to log a discarded ACK.
====================

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