[dpdk-dev] [PATCH] test: fix flow classifier creating failure

Iremonger, Bernard bernard.iremonger at intel.com
Thu Apr 22 11:51:18 CEST 2021


> -----Original Message-----
> From: Min Hu (Connor) <humin29 at huawei.com>
> Sent: Thursday, April 22, 2021 7:14 AM
> To: dev at dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; Iremonger, Bernard
> <bernard.iremonger at intel.com>
> Subject: [PATCH] test: fix flow classifier creating failure
> 
> 'cls->cls' will be NULL if flow classifier create has failed, then segmentation
> fault will occur if the variable is used.
> 
> This patch fixed it.
> 
> Fixes: 9c9befea4f57 ("test: add flow classify unit tests")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>


More information about the dev mailing list