numam-dpdk/drivers/net/txgbe
Hongbo Zheng cf30a78593 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: b7eeecb175 ("net/txgbe: parse n-tuple filter")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
2021-04-29 15:10:35 +02:00
..
base drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_txgbe.h net/txgbe: add process mailbox operation 2020-11-03 23:24:27 +01:00
txgbe_ethdev_vf.c net/txgbe: update device ID 2021-03-29 17:49:34 +02:00
txgbe_ethdev.c drivers/net: fix FW version query 2021-04-26 13:50:42 +02:00
txgbe_ethdev.h net/txgbe: handle AN interrupt and link update 2021-03-29 17:49:34 +02:00
txgbe_fdir.c net/txgbe: flush all filters 2021-01-13 18:51:58 +01:00
txgbe_flow.c net/txgbe: fix null pointer check 2021-04-29 15:10:35 +02:00
txgbe_ipsec.c net/txgbe: fix adding crypto SA 2021-03-08 12:32:33 +01:00
txgbe_ipsec.h net/txgbe: add security type in flow action 2021-01-13 18:51:58 +01:00
txgbe_logs.h net/txgbe: update link setup process of backplane NICs 2021-03-29 17:49:34 +02:00
txgbe_pf.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
txgbe_ptypes.c net/txgbe: update packet type 2021-03-08 12:32:33 +01:00
txgbe_ptypes.h net/txgbe: support packet type 2020-11-03 23:24:27 +01:00
txgbe_regs_group.h net/txgbe: support register dump 2020-11-03 23:24:27 +01:00
txgbe_rxtx.c mbuf: rename outer IP checksum macro 2021-03-02 10:57:28 +01:00
txgbe_rxtx.h net/txgbe: add security offload in Rx and Tx 2021-01-13 18:51:58 +01:00
txgbe_tm.c net/txgbe: add TM hierarchy commit 2021-01-13 18:51:58 +01:00
version.map net/txgbe: add build and doc infrastructure 2020-11-03 23:24:26 +01:00