[PATCH] rxrpc: Fix skbuff cleanup of call's recvmsg_queue and rx_oos_queue

David Howells dhowells at redhat.com
Fri Jan 5 13:24:52 PST 2024


David Howells <dhowells at redhat.com> wrote:

> Fix rxrpc_cleanup_ring() to use rxrpc_purge_queue() rather than
> skb_queue_purge() so that the count of outstanding skbuffs is correctly
> updated when a failed call is cleaned up.
> 
> Without this rmmod may hang waiting for rxrpc_n_rx_skbs to become zero.
> 
> Reported-by: Marc Dionne <marc.dionne at auristor.com>
> Signed-off-by: David Howells <dhowells at redhat.com>
> cc: "David S. Miller" <davem at davemloft.net>
> cc: Eric Dumazet <edumazet at google.com>
> cc: Jakub Kicinski <kuba at kernel.org>
> cc: Paolo Abeni <pabeni at redhat.com>
> cc: linux-afs at lists.infradead.org
> cc: netdev at vger.kernel.org

Fixes: 5d7edbc9231e ("rxrpc: Get rid of the Rx ring")




More information about the linux-afs mailing list