[PATCH net] rxrpc: Fix deadlock around release of dst cached on udp tunnel
Vadim Fedorenko
vfedorenko at novek.ru
Fri Jan 29 14:53:42 EST 2021
On 29.01.2021 17:41, David Howells wrote:
> Vadim Fedorenko <vfedorenko at novek.ru> 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 at novek.ru>
More information about the linux-afs
mailing list