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

David Marchand david.marchand at redhat.com
Thu Oct 29 17:09:37 CET 2020


On Tue, Oct 27, 2020 at 1:52 PM wangyunjian <wangyunjian at huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian at huawei.com>
>
> 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")

No need to copy stable, this feature is only in the current release.


> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Reviewed-by: Dharmik Thakkar <dharmik.thakkar at arm.com>
Acked-by: Yipeng Wang <yipeng1.wang at intel.com>


Applied, thanks.

-- 
David Marchand



More information about the stable mailing list