Re: [PATCH net] rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up

From: David Howells
Date: Tue Aug 27 2019 - 08:57:08 EST


David Miller <davem@xxxxxxxxxxxxx> wrote:

> Once you've removed the entries from the globally visible idle_client_comms
> list, and put them on the local garbage list, they cannot be seen in any way
> by external threads of control outside of this function.

Yeah, I think you're right. I was thinking that it might race with
rxrpc_discard_expired_client_conns() but that takes the locks too, so it
shouldn't.

David