Skip to content

rxrpc: Miscellaneous fixes

David Howells lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4rxrpc: Fix generation of serial numbers to skip zeronet/rxrpc/ar-internal.h net/rxrpc/conn_event.c net/rxrpc/output.c +2 more+23 -90 repliesApplied
2/4rxrpc: Fix delayed ACKs to not set the reference serial numbernet/rxrpc/ar-internal.h net/rxrpc/call_event.c+1 -60 repliesApplied
3/4rxrpc: Fix response to PING RESPONSE ACKs to a dead callnet/rxrpc/conn_event.c+8 -00 repliesApplied
4/4rxrpc: Fix counting of new acks and nacksinclude/trace/events/rxrpc.h net/rxrpc/ar-internal.h net/rxrpc/call_event.c +2 more+122 -280 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/4] rxrpc: Miscellaneous fixes

Here some miscellaneous fixes for AF_RXRPC:

(1) The zero serial number has a special meaning in an ACK packet serial reference, so skip it when assigning serial numbers to transmitted packets.

(2) Don't set the reference serial number in a delayed ACK as the ACK cannot be used for RTT calculation.

(3) Don't emit a DUP ACK response to a PING RESPONSE ACK coming back to a call that completed in the meantime.

(4) Fix the counting of acks and nacks in ACK packet to better drive congestion management. We want to know if there have been new acks/nacks since the last ACK packet, not that there are still acks/nacks. This is more complicated as we have to save the old SACK table and compare it.

David

---
The patches can be found here also:

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

David Howells (4):
rxrpc: Fix generation of serial numbers to skip zero
rxrpc: Fix delayed ACKs to not set the reference serial number
rxrpc: Fix response to PING RESPONSE ACKs to a dead call
rxrpc: Fix counting of new acks and nacks

 include/trace/events/rxrpc.h |   8 ++-
 net/rxrpc/ar-internal.h      |  37 ++++++++---
 net/rxrpc/call_event.c       |  12 ++--
 net/rxrpc/call_object.c      |   1 +
 net/rxrpc/conn_event.c       |  10 ++-
 net/rxrpc/input.c            | 115 +++++++++++++++++++++++++++++------
 net/rxrpc/output.c           |   8 +--
 net/rxrpc/proc.c             |   2 +-
 net/rxrpc/rxkad.c            |   4 +-
 9 files changed, 154 insertions(+), 43 deletions(-)