rxrpc: Fix call leak
authorDavid Howells <dhowells@redhat.com>
Mon, 28 Nov 2022 09:24:06 +0000 (09:24 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 1 Dec 2022 13:36:37 +0000 (13:36 +0000)
commit49df54a6b2953195243d037682cffb9038f9456a
tree5c56e31a7473d0170c47612519564771cc6e19dd
parent75bfdbf2fca372e2709bcaa43e8cf1147766ae96
rxrpc: Fix call leak

When retransmitting a packet, rxrpc_resend() shouldn't be attaching a ref
to the call to the txbuf as that pins the call and prevents the call from
clearing the packet buffer.

Signed-off-by: David Howells <dhowells@redhat.com>
Fixes: d57a3a151660 ("rxrpc: Save last ACK's SACK table rather than marking txbufs")
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
net/rxrpc/call_event.c