Skip to content

rxrpc: RACK-TLP fixes

David Howells lkml netdev stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rxrpc: Fix the comments saying RFC8958 to be RFC8985net/rxrpc/ar-internal.h net/rxrpc/input_rack.c+11 -110 replies
2/3rxrpc: Fix counting of in-flight transmitted packetsinclude/trace/events/rxrpc.h net/rxrpc/ar-internal.h net/rxrpc/input.c +2 more+24 -373 replies
3/3rxrpc: Fix RACK-TLP implementationnet/rxrpc/ar-internal.h net/rxrpc/call_event.c net/rxrpc/input.c +1 more+21 -70 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMarc DionneJeffrey Altman
1/3
2/3
3/3R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)