net/i40e: fix parsing QinQ pattern
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 27 Jul 2017 07:28:22 +0000 (09:28 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commitc2be7f9b232fd6730dcec83555af050941c7805f
tree958519ee773a7ef275551bcf4939872343c1cfbe
parent6e7d388c3eaedba067139fa905a1bff11178ad03
net/i40e: fix parsing QinQ pattern

Add check if o_vlan_mask and i_vlan_mask are not a NULL pointer.

Coverity issue: 143448
Coverity issue: 143449
Fixes: d37705068ee8 ("net/i40e: parse QinQ pattern")
Cc: stable@dpdk.org
Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_flow.c