net/qede: fix null pointer dereferences
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 7 Nov 2017 08:34:25 +0000 (00:34 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 23:49:59 +0000 (00:49 +0100)
commit2c93d5baf9a83f2485a22b87be42d4789b04b8a1
tree0e3c4d8843e47914afc25c3a472856f2df49d8b5
parent5b5f9675d332f192388a9e89a779b0285139e0e2
net/qede: fix null pointer dereferences

Fix null pointer dereferences in qede_vxlan_enable() and
qede_conf_udp_dst_port()

Coverity issue: 195010, 195012, 198439
Fixes: e0947ed912f7 ("net/qede: add support for VXLAN UDP port config over VF")
Fixes: 739a5b2f2b49 ("net/qede/base: use passed ptt handler")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_ethdev.c