crypto/aesni_mb: fix security session clearing
authorDavid Coyle <david.coyle@intel.com>
Tue, 6 Oct 2020 11:40:21 +0000 (12:40 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commit8f6187ecf891614cb257832a6be4b993e0f6537c
tree508fce190e42d107638d82ea743a7e86b0441e38
parentca635a5899c81055133ed0ca0556316b4ab64525
crypto/aesni_mb: fix security session clearing

When destroying a security session, the AESNI-MB PMD attempted to clear
the private aesni_mb session object to remove any key material. However,
the function aesni_mb_pmd_sec_sess_destroy() cleared the security session
object instead of the private session object.

This patch fixes this issue by now clearing the private session object.

Fixes: fda5216fba55 ("crypto/aesni_mb: support DOCSIS protocol")
Cc: stable@dpdk.org
Signed-off-by: David Coyle <david.coyle@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c