numam-dpdk/drivers
Dana Vardi 03e73e8572 crypto/mvsam: fix session data reset
This patch fix wrong clear memory session pointer.

When call mrvl_crypto_pmd_sym_session_clear function,
it might cause the following error:
CRYPTODEV: set_sym_session_private_data() line 497:
Set private data for driver 1 not allowed

This fix set zeroes to mrvl_crypto_session pointer instead to
rte_cryptodev_sym_session pointer, and will verify that
rte_cryptodev_sym_session pointer will not lose data such as
nb_drivers.

Bugzilla ID: 646
Fixes: 8a61c83af2 ("crypto/mrvl: add mrvl crypto driver")
Cc: stable@dpdk.org

Signed-off-by: Dana Vardi <danat@marvell.com>
Reviewed-by: Michael Shamis <michaelsh@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
2021-07-07 21:28:39 +02:00
..
baseband log: register with standardized names 2021-05-11 15:17:55 +02:00
bus bus/pci: fix leak for unbound devices 2021-07-06 11:27:55 +02:00
common crypto/octeontx: add crypto adapter data path 2021-07-07 21:28:39 +02:00
compress log: register with standardized names 2021-05-11 15:17:55 +02:00
crypto crypto/mvsam: fix session data reset 2021-07-07 21:28:39 +02:00
event crypto/octeontx: add crypto adapter data path 2021-07-07 21:28:39 +02:00
mempool mempool/octeontx2: fix shift calculation 2021-06-30 18:42:54 +02:00
net net/tap: define offload capabilities constants 2021-07-02 19:03:03 +02:00
raw raw/cnxk_bphy: support BPHY self test 2021-07-05 23:08:48 +02:00
regex log: register with standardized names 2021-05-11 15:17:55 +02:00
vdpa vdpa/mlx5: fix TSO offload without checksum 2021-06-30 13:39:23 +02:00
meson.build log: register with standardized names 2021-05-11 15:17:55 +02:00