[EXT] [dpdk-dev v2] crypto/qat: fix secure session check

Akhil Goyal gakhil at marvell.com
Tue Jul 5 18:32:26 CEST 2022


> ----------------------------------------------------------------------
> From: Rebecca Troy <rebecca.troy at intel.com>
> 
> Currently when running the dpdk-perf-test with docsis
> security sessions, a segmentation fault occurs. This
> is due to the check being made that the session is not
> equal to op->sym->sec_session. This check passes the
> first time but on the second iteration fails and doesn't
> create the build_request.
> 
> This commit fixes that error by getting the ctx first
> from the private session data and then comparing ctx,
> rather than op->sym->sec_session, with the sess.
> 
> Fixes: fb3b9f492205 ("crypto/qat: rework burst data path")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Rebecca Troy <rebecca.troy at intel.com>
> Signed-off-by: Kai Ji <kai.ji at intel.com>
Applied to dpdk-next-crypto
Thanks.


More information about the stable mailing list