lkml.org 
[lkml]   [2021]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] rxrpc: Fix deadlock around release of dst cached on udp tunnel
From
Date
On 29.01.2021 17:41, David Howells wrote:
> Vadim Fedorenko <vfedorenko@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@novek.ru>

\
 
 \ /
  Last update: 2021-01-29 21:01    [W:0.705 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site