mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net/tls: fix the IV leaks
Commitf66de3ee2c("net/tls: Split conf to rx + tx") made freeing of IV and record sequence number conditional to SW path only, but commite8f6979981("net/tls: Add generic NIC offload infrastructure") also allocates that state for the device offload configuration. Remember to free it. Fixes:e8f6979981("net/tls: Add generic NIC offload infrastructure") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f4a5885715
commit
5a03bc73ab
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue