[dpdk-dev] [PATCH] crypto/octeontx2: fix sessionless code

Anoob Joseph anoobj at marvell.com
Tue Sep 8 13:00:36 CEST 2020


> A temporary session is created for sessionless crypto operations.
> rte_cryptodev_sym_session_create() should be used for creating the
> temporary session as it initializes the session structure in the correct way.
> Also the session should be set to 0 before freeing it.
> 
> Fixes: 17ac2a72191b ("crypto/octeontx2: add enqueue/dequeue ops")
> 
> Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>

Acked-by: Anoob Joseph <anoobj at marvell.com>


More information about the dev mailing list