diff options
| author | David Howells <dhowells@redhat.com> | 2024-12-04 07:46:48 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-09 13:48:28 -0800 |
| commit | 203457e11b591f80ada571f981dd5f4d683b0009 (patch) | |
| tree | 1d35502a6ab7c64a73867515f9a15375941c9f0a /net/lapb/lapb_subr.c | |
| parent | rxrpc: call->acks_hard_ack is now the same call->tx_bottom, so remove it (diff) | |
| download | linux-203457e11b591f80ada571f981dd5f4d683b0009.tar.gz linux-203457e11b591f80ada571f981dd5f4d683b0009.zip | |
rxrpc: Replace call->acks_first_seq with tracking of the hard ACK point
Replace the call->acks_first_seq variable (which holds ack.firstPacket from
the latest ACK packet and indicates the sequence number of the first ack
slot in the SACK table) with call->acks_hard_ack which will hold the
highest sequence hard ACK'd. This is 1 less than call->acks_first_seq, but
it fits in the same schema as the other tracking variables which hold the
sequence of a packet, not one past it.
This will fix the rxrpc_congest tracepoint's calculation of SACK window
size which shows one fewer than it should - and will occasionally go to -1.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20241204074710.990092-21-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
