net/ice: fix null pointer dereferences for tunnels
authorXiaolong Ye <xiaolong.ye@intel.com>
Mon, 5 Aug 2019 09:15:11 +0000 (17:15 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Aug 2019 11:09:04 +0000 (13:09 +0200)
commit4782c785f80154ec43dfb82d650ea30ce71ec639
treefafd4f95ec1b221a251210fcd3494193c6203420
parent08141dc7e1d65744ce46e4421e4930c3b0af374b
net/ice: fix null pointer dereferences for tunnels

This patch fixes two null pointer dereferences in flow code detected by
coverity scan.

Coverity issue: 345815, 345816
Fixes: 94f00800d78b ("net/ice: fix VXLAN/NVGRE flow matching")

Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_generic_flow.c