[EXT] [PATCH v2] crypto/qat: fix gen3 legacy capabilities

Akhil Goyal gakhil at marvell.com
Thu Nov 16 18:53:17 CET 2023


> When the legacy capability flag was enabled for QAT GEN3,
> in the case of the last legacy capability in the list being SM3 or SM4,
> when no slice is on the device, the loop continues instead of checking
> if the end of the legacy capbilities list has been met.
> 
> To fix this, the check for the end of the legacy capabilities list is
> moved to the top of the loop, so it is detected when the last legacy
> element is SM and no SM slice exists.
> 
> Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>
Applied to dpdk-next-crypto
Thanks.


More information about the stable mailing list