diff options
author | David Howells <dhowells@redhat.com> | 2024-01-05 17:05:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-07 15:25:30 +0000 |
commit | 4fc68c4c1a114ba597b4f3b082f04622dfa0e0f6 (patch) | |
tree | d697a5fd9e47698988a36654901164b3622e4012 /scripts/gdb/linux/lists.py | |
parent | a460f4a684511e007bbf1700758a41f05d9981e6 (diff) |
rxrpc: Fix skbuff cleanup of call's recvmsg_queue and rx_oos_queue
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.
Fixes: 5d7edbc9231e ("rxrpc: Get rid of the Rx ring")
Reported-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.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
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions