net/txgbe: fix null pointer check
net/txgbe: fix null pointer check

In function cons_parse_ntuple_filter, item->spec and item->mask
should be confirmed not null before use memcmp on it, current
judgement (item->spec || item->mask) just can confirm item->spec
or item->mask is not null, and cause null pointer be used in
memcmp.

This patch fix this problem.

Fixes: b7eeecb17556 ("net/txgbe: parse n-tuple filter")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <ac635125c10ac53d300b049dad8f4b0c8fe7406c@huawei.com>
Signed-off-by: Min Hu (Connor) <f02e10cb0a484c51b0f8634f83fbb4ab9ded1c6a@huawei.com>
Acked-by: Jiawen Wu <e08370b1e60b2c0af0f9ad12ac294aabba4f34b2@trustnetic.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk