Re: [dpdk-dev] [PATCH] hash: fix dereference before null check

2020-10-28 Thread Wang, Yipeng1
pdk.org > Subject: [dpdk-dev] [PATCH] hash: fix dereference before null check > > From: Yunjian Wang > > Coverity flags that 'h' variable is used before it's checked for NULL. This > patch > fixes this issue. > > Coverity issue: 363625 > Fixes:

Re: [dpdk-dev] [PATCH] hash: fix dereference before null check

2020-10-27 Thread Dharmik Thakkar
Apologies for the disclaimer! > On Oct 27, 2020, at 9:59 AM, Dharmik Thakkar wrote: > > Hi Yunjian, > > Thank you for fixing the issue! > >> On Oct 27, 2020, at 7:51 AM, wangyunjian wrote: >> >> From: Yunjian Wang >> >> Coverity flags that 'h' variable is used before >> it's checked for NU

Re: [dpdk-dev] [PATCH] hash: fix dereference before null check

2020-10-27 Thread Dharmik Thakkar
Hi Yunjian, Thank you for fixing the issue! > On Oct 27, 2020, at 7:51 AM, wangyunjian wrote: > > From: Yunjian Wang > > Coverity flags that 'h' variable is used before > it's checked for NULL. This patch fixes this issue. > > Coverity issue: 363625 > Fixes: 769b2de7fb52 ("hash: implement RCU r

[dpdk-dev] [PATCH] hash: fix dereference before null check

2020-10-27 Thread wangyunjian
From: Yunjian Wang Coverity flags that 'h' variable is used before it's checked for NULL. This patch fixes this issue. Coverity issue: 363625 Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- lib/librte_hash/rte_cuckoo_hash.c