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

Coverity issue: 158634
Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c