[dpdk-dev] [PATCH v1 3/6] crypto/ccp: crash when using ccp cpu authentication is used
Somalapuram, Amaranath
Amaranath.Somalapuram at amd.com
Tue Oct 22 07:18:50 CEST 2019
Hi Akhil,
Not sure about how to use fix line if I don't have bug number.
If I run ./devtools/check-git-log.sh it expect bug number.
Do you recommend to log a bug for my patches ??
Please let me know.
Regards,
S.Amarnath
-----Original Message-----
From: Akhil Goyal <akhil.goyal at nxp.com>
Sent: Tuesday, October 15, 2019 4:31 PM
To: Somalapuram, Amaranath <Amaranath.Somalapuram at amd.com>; dev at dpdk.org
Cc: stable at dpdk.org
Subject: RE: [PATCH v1 3/6] crypto/ccp: crash when using ccp cpu authentication is used
[CAUTION: External Email]
Title: crypto/ccp: fix CPU authentication crash
>
> From: Amaranath Somalapuram <asomalap at amd.com>
>
> when ccp_auth_opt=1 is set and
> if authentication error occurred ccp driver crash.
> proble is enqueue count and dequeue count miss match if we continue.
Please rephrase this description.
Fixes line??
> Cc: stable at dpdk.org
>
> Signed-off-by: Amaranath Somalapuram <asomalap at amd.com>
> ---
> drivers/crypto/ccp/ccp_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/ccp/ccp_crypto.c
> b/drivers/crypto/ccp/ccp_crypto.c index 19ae9153d..1837c8543 100644
> --- a/drivers/crypto/ccp/ccp_crypto.c
> +++ b/drivers/crypto/ccp/ccp_crypto.c
> @@ -2738,7 +2738,7 @@ process_ops_to_enqueue(struct ccp_qp *qp,
> session, auth_ctx);
> if (op[i]->status !=
> RTE_CRYPTO_OP_STATUS_SUCCESS)
> - continue;
> +
> CCP_LOG_ERR("RTE_CRYPTO_OP_STATUS_AUTH_FAILED");
> } else
> result = ccp_crypto_auth(op[i], cmd_q,
> b_info);
>
> --
> 2.17.1
More information about the dev
mailing list