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

2021-04-22 Thread Iremonger, Bernard
> -Original Message- > From: Min Hu (Connor) > Sent: Thursday, April 22, 2021 7:14 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Iremonger, Bernard > > Subject: [PATCH] test: fix flow classifier creating failure > > 'cls->cls' will be NULL if flow classifier create has failed, then > segm

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

2021-04-21 Thread Min Hu (Connor)
'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: sta...@dpdk.org Signed-off-by: Min Hu (Connor) --- app/test/test_flow_classify.c | 6 +++