[PATCH 1/2] Revert "nvmet-tcp: Don't free SQ on authentication success"

Keith Busch kbusch at kernel.org
Mon Apr 20 09:23:44 PDT 2026


On Fri, Apr 17, 2026 at 10:48:08AM +1000, alistair23 at gmail.com wrote:
> From: Alistair Francis <alistair.francis at wdc.com>
> 
> In an attempt to fix REPLACETLSPSK we stopped freeing the secrets on
> successful connections. This resulted in memory leaks in the kernel, so
> let's revert the commit. A improved fix is being developed to just avoid
> clearing the tls_key variable.
> 
> This reverts commit 2e6eb6b277f593b98f151ea8eff1beb558bbea3b.

Thanks, patches 1 and 2 applied to nvme-7.1.



More information about the Linux-nvme mailing list