[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190815.163349.1048232454570643495.davem@davemloft.net>
Date: Thu, 15 Aug 2019 16:33:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dhowells@...hat.com
Cc: netdev@...r.kernel.org, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 0/2] rxrpc: Fix local endpoint handling
From: David Howells <dhowells@...hat.com>
Date: Wed, 14 Aug 2019 11:47:51 +0100
> Here's a pair of patches that fix two issues in the handling of local
> endpoints (rxrpc_local structs):
>
> (1) Use list_replace_init() rather than list_replace() if we're going to
> unconditionally delete the replaced item later, lest the list get
> corrupted.
>
> (2) Don't access the rxrpc_local object after passing our ref to the
> workqueue, not even to illuminate tracepoints, as the work function
> may cause the object to be freed. We have to cache the information
> beforehand.
Pulled, thanks David.
Powered by blists - more mailing lists