Subject: Re: [PATCH v12 net-next 01/12] tls: support for Inline tls record

From: Stefano Brivio <[email-masked]>
Date: Mon, 19 Mar 2018 17:57:44 +0100

On Mon, 19 Mar 2018 19:25:34 +0530
Atul Gupta <[email-masked]> wrote:

> @@ -268,6 +259,8 @@ static void tls_sk_proto_close(struct sock *sk, long timeout)
>  skip_tx_cleanup:
>  	release_sock(sk);
>  	sk_proto_close(sk, timeout);
> +	if (ctx && ctx->tx_conf == TLS_HW_RECORD)
> +		kfree(ctx);

Why are you still dereferencing ctx after it has been freed, as
reported by Julia (<alpine.DEB.2.20.1803181700230.2420@hadrien>) on v11?

-- 
Stefano