diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-06-29 02:11:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-28 09:29:27 +0300 |
commit | fde351aeff4afe74c430395be01dd83c070ab85c (patch) | |
tree | 06f6d80994e5181057245e79548fc6a7ca3c3a29 /include/misc/cxl.h | |
parent | d9571a9f5ec19820571de3c2244d16f5b53b8bf0 (diff) | |
download | linux-fde351aeff4afe74c430395be01dd83c070ab85c.tar.xz |
net/tls: make sure offload also gets the keys wiped
[ Upstream commit acd3e96d53a24d219f720ed4012b62723ae05da1 ]
Commit 86029d10af18 ("tls: zero the crypto information from tls_context
before freeing") added memzero_explicit() calls to clear the key material
before freeing struct tls_context, but it missed tls_device.c has its
own way of freeing this structure. Replace the missing free.
Fixes: 86029d10af18 ("tls: zero the crypto information from tls_context before freeing")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/misc/cxl.h')
0 files changed, 0 insertions, 0 deletions