Re: [PATCH net] net/tls: make sure offload also gets the keys wiped

2019-07-01 Thread David Miller
From: Jakub Kicinski Date: Fri, 28 Jun 2019 16:11:39 -0700 > 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 fre

[PATCH net] net/tls: make sure offload also gets the keys wiped

2019-06-28 Thread Jakub Kicinski
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 (