> -----Original Message-----
> From: Trahe, Fiona
> Sent: Wednesday, October 24, 2018 1:40 AM
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; Jozwiak, TomaszX <tomaszx.jozw...@intel.com>;
> Kusztal, ArkadiuszX <arkadiuszx.kusz...@intel.com>; Cel, TomaszX
> <tomaszx....@intel.com>; Trahe, Fiona <fiona.tr...@intel.com>;
> sta...@dpdk.org
> Subject: [PATCH] common/qat: fix for invalid response from firmware
>
> Check that the firmware response has a bit set indicating it's valid before
> dereferencing the rest of the response contents.
>
> Fixes: 0bdd36e12245 ("crypto/qat: make dequeue function generic")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Fiona Trahe <fiona.tr...@intel.com>
> ---
> drivers/common/qat/qat_qp.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c
> index 1d83aac..9c58c64 100644
> --- a/drivers/common/qat/qat_qp.c
> +++ b/drivers/common/qat/qat_qp.c
> --
> 2.7.4
Acked-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>