[PATCH net-next 0/4] rxrpc: Miscellaneous changes

From: David Howells
Date: Wed Feb 08 2023 - 05:28:57 EST


Here are some miscellaneous changes for rxrpc:

(1) Use consume_skb() rather than kfree_skb_reason().

(2) Fix unnecessary waking when poking and already-poked call.

(3) Add ack.rwind to the rxrpc_tx_ack tracepoint as this indicates how
many incoming DATA packets we're telling the peer that we are
currently willing to accept on this call.

(4) Reduce duplicate ACK transmission. We send ACKs to let the peer know
that we're increasing the receive window (ack.rwind) as we consume
packets locally. Normal ACK transmission is triggered in three places
and that leads to duplicates being sent.

The patches are tagged here:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/rxrpc-next-20230208

And can be found on this branch:

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

David

David Howells (4):
rxrpc: Use consume_skb() rather than kfree_skb_reason()
rxrpc: Fix overwaking on call poking
rxrpc: Trace ack.rwind
rxrpc: Reduce unnecessary ack transmission

include/trace/events/rxrpc.h | 11 +++++++----
net/rxrpc/call_object.c | 6 ++++--
net/rxrpc/conn_event.c | 2 +-
net/rxrpc/output.c | 10 +++++++---
net/rxrpc/recvmsg.c | 2 +-
net/rxrpc/skbuff.c | 4 ++--
6 files changed, 22 insertions(+), 13 deletions(-)