[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180925.105234.1515947833639402176.davem@davemloft.net>
Date: Tue, 25 Sep 2018 10:52:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: netdev@...r.kernel.org, borisp@...lanox.com, aviadye@...lanox.com,
davejwatson@...com, doronrk@...com
Subject: Re: [PATCH net-next] tls: Fixed a memory leak during socket close
From: Vakul Garg <vakul.garg@....com>
Date: Tue, 25 Sep 2018 20:21:51 +0530
> During socket close, if there is a open record with tx context, it needs
> to be be freed apart from freeing up plaintext and encrypted scatter
> lists. This patch frees up the open record if present in tx context.
>
> Also tls_free_both_sg() has been renamed to tls_free_open_rec() to
> indicate that the free record in tx context is being freed inside the
> function.
>
> Fixes: a42055e8d2c3 ("net/tls: Add support for async encryption")
> Signed-off-by: Vakul Garg <vakul.garg@....com>
Applied.
Powered by blists - more mailing lists