net/cxgbe: skip parsing match items with no spec
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 14 Dec 2018 19:01:54 +0000 (00:31 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
Skip parsing pattern match items that have no spec. This fixes NULL
dereference when accessing their non-existent spec.

Fixes: ee61f5113b17 ("net/cxgbe: parse and validate flows")
Cc: stable@dpdk.org
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>

No differences found