rxrpc: Clean up the resend algorithm
authorDavid Howells <dhowells@redhat.com>
Wed, 31 Jan 2024 14:58:40 +0000 (14:58 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 5 Mar 2024 23:35:26 +0000 (23:35 +0000)
commit37473e41623409286ab2f5db628a59d4da9a79d7
treeb7fee3b05c0d00bd9c2903f0801995490064f106
parent4d267ad6fd566c58d33ac899fefd5357b9a71908
rxrpc: Clean up the resend algorithm

Clean up the DATA packet resending algorithm to retransmit packets as we
come across them whilst walking the transmission buffer rather than queuing
them for retransmission at the end.  This can be done as ACK parsing - and
thus the discarding of successful packets - is now done in the same thread
rather than separately in softirq context and a locked section is no longer
required.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
net/rxrpc/call_event.c