Re: [PATCH net] rxrpc: Fix memory leak in rxkad_verify_response()

From: David Miller
Date: Thu Aug 27 2020 - 16:00:09 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 27 Aug 2020 16:55:46 +0100

> From: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
>
> Fix a memory leak in rxkad_verify_response() whereby the response buffer
> doesn't get freed if we fail to allocate a ticket buffer.
>
> Fixes: ef68622da9cc ("rxrpc: Handle temporary errors better in rxkad security")
> Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Applied, thank you.