net/bnxt: fix null pointer dereference
authorKishore Padmanabha <kishore.padmanabha@broadcom.com>
Fri, 17 Jul 2020 14:14:47 +0000 (19:44 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commit292611672bf0c8e9c0726b1c183111dddb7fbb1b
tree3116cc7899da3769762d70b6627a40fb56d0244c
parenta5ac40fbb33da0d3e110df7eee593c32cbb11406
net/bnxt: fix null pointer dereference

Avoid dereferencing a null pointer.

Fixes: 313ac35ac701 ("net/bnxt: support ULP session manager init")
Cc: stable@dpdk.org
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c