Re: [PATCH net] rxrpc: Fix deadlock around release of dst cached on udp tunnel

From: Vadim Fedorenko
Date: Fri Jan 29 2021 - 14:59:57 EST


On 29.01.2021 17:41, David Howells wrote:
Vadim Fedorenko <vfedorenko@xxxxxxxx> wrote:

You missed the call to dst_release(sk->sk_rx_dst) in
rxrpc_sock_destructor. Without it we are still leaking the dst.

Hmmm... I no longer get the messages appearing with this patch. I'll have
another look.

Sorry, my bad. rxrpc_sock_destructor destroys AF_RXRPC sockets, which are totally different from the UDP kernel socket used as a transport and which are destroyed as usual UDP sockets.

Ack-by: Vadim Fedorenko <vfedorenko@xxxxxxxx>