Re: [PATCH net] rxrpc: Fix a missing rxrpc_put_peer() in the error_report handler
From: David Miller
Date: Tue Oct 16 2018 - 02:14:54 EST
From: David Howells <dhowells@xxxxxxxxxx>
Date: Mon, 15 Oct 2018 22:37:21 +0100
> Fix a missing call to rxrpc_put_peer() on the main path through the
> rxrpc_error_report() function. This manifests itself as a ref leak
> whenever an ICMP packet or other error comes in.
> In commit f334430316e7, the hand-off of the ref to a work item was removed
> and was not replaced with a put.
> Fixes: f334430316e7 ("rxrpc: Fix error distribution")
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>