Loading
Revert "nvmet-tcp: Don't free SQ on authentication success"
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 2e6eb6b2. Closes: https://lore.kernel.org/linux-nvme/CAHj4cs-u3MWQR4idywptMfjEYi4YwObWFx4KVib35dZ5HMBDdw@mail.gmail.com Reviewed-by:Chris Leech <cleech@redhat.com> Reviewed-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Alistair Francis <alistair.francis@wdc.com> Signed-off-by:
Keith Busch <kbusch@kernel.org>