]> git.droids-corp.org - dpdk.git/commit
crypto/qat: fix process type handling
authorKai Ji <kai.ji@intel.com>
Tue, 1 Mar 2022 15:02:54 +0000 (23:02 +0800)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 4 Mar 2022 10:24:43 +0000 (11:24 +0100)
commit1df045712db1357fd17a5c10e69cd1dda1d2c3f0
treee388fafc3f742a17eea52ea305c8b776c626ab30
parent8545c6d2e20a7f8172c11760b3c5a478d62380d5
crypto/qat: fix process type handling

This patch fix the memory corruptions issue reported by
coverity. The process type handling in QAT PMDs where only
primary and secondary process are supported in qat build
request.

Coverity issue: 376551, 376570, 376534
Fixes: fb3b9f492205 ("crypto/qat: rework burst data path")
Signed-off-by: Kai Ji <kai.ji@intel.com>
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c
drivers/crypto/qat/qat_sym.c