net/bnxt: fix a pointer deref before null check
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 24 Oct 2017 21:19:47 +0000 (16:19 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commite6bea83ee3ba49123eb26f6442b9cd27b4ec6215
tree8c94808dfe5ccdc667d033c54d2499477dbce393
parent1498060ffb60b5faea6c6b01c36780c1732af127
net/bnxt: fix a pointer deref before null check

Coverity issue: 195015
Fixes: b7435d660a8c ("net/bnxt: add ntuple filtering support")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c