[PATCH net v2 0/3] rxrpc: RACK-TLP fixes

From: David Howells

Date: Tue Oct 20 2026 - 16:13:54 EST


Here are some fixes for AF_RXRPC's RACK-TLP implementation. It's split
into three patches: the first just fixes the RFC number in comments but has
no actual code changes; the second introduces a new way to count in-flight
packets; the third does the actual fixing, including:

- Making the "in fast/RTO recovery" flag available to RACK-TLP code after
the Reorder timer expires.

- Arming the RTO timer if no other timer is running and there is unacked
data.

- Initialising the TLP state in the correct place.

- Not resetting the xmit timestamp when marking a packet lost.

- Correctly checking the flight size.

David

The patches can be found here also:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes-2

Changes
=======
ver #2)
- Rebased on latest net-next/main.
- Fixed Sashiko-reported bugs[1]:
- When performing TLP_send_probe() [rfc8985 7.3], don't do backoff. Note
that backoff may already have been done by rxrpc_resend().
- In rxrpc_tlp_calc_pto(), clamp call->peer->pmtud_jumbo to be at least
1.
- Added a patch to replace the way in which the number of in-flight
packets is tracked to avoid estimating using values which aren't all
updated at the same time.

[1] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260925191520.2206700-1-dhowells%40redhat.com

David Howells (3):
rxrpc: Fix the comments saying RFC8958 to be RFC8985
rxrpc: Fix counting of in-flight transmitted packets
rxrpc: Fix RACK-TLP implementation

include/trace/events/rxrpc.h | 11 ++++-----
net/rxrpc/ar-internal.h | 22 ++++--------------
net/rxrpc/call_event.c | 13 +++++++++++
net/rxrpc/input.c | 15 ++++++------
net/rxrpc/input_rack.c | 45 +++++++++++++++++++-----------------
net/rxrpc/output.c | 5 ++--
6 files changed, 56 insertions(+), 55 deletions(-)