summaryrefslogtreecommitdiffstats
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-16 13:12:58 +0000
committerDavid S. Miller <davem@davemloft.net>2023-11-17 02:50:33 +0000
commit3798680f2fbbe0ca3ab6138b34e0d161c36497ee (patch)
tree6cacdd160ff9295677cbfab9093345139e92a850 /ipc/compat.c
parent75a50c4f5b957a34dedb7c8cce52b582a9162828 (diff)
downloadlinux-stable-3798680f2fbbe0ca3ab6138b34e0d161c36497ee.tar.gz
linux-stable-3798680f2fbbe0ca3ab6138b34e0d161c36497ee.tar.bz2
linux-stable-3798680f2fbbe0ca3ab6138b34e0d161c36497ee.zip
rxrpc: Fix RTT determination to use any ACK as a source
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: 4700c4d80b7b ("rxrpc: Fix loss of RTT samples due to interposed ACK") Signed-off-by: David 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions