numam-dpdk/drivers/net/hinic
Yunjian Wang 2e8fb3d244 net/hinic: fix negative array index read
Negative array index read using variable 'i' as an index to array
'filter_info->pkt_filters'. Fixed by add return value check.

Coverity issue: 350364
Fixes: f4ca3fd54c ("net/hinic: create and destroy flow director filter")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-09-18 18:55:06 +02:00
..
base bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
hinic_pmd_ethdev.c ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
hinic_pmd_ethdev.h net/hinic: fix setting promiscuous mode 2020-07-07 23:38:26 +02:00
hinic_pmd_flow.c net/hinic: fix negative array index read 2020-09-18 18:55:06 +02:00
hinic_pmd_rx.c net/hinic: fix queues resource free 2020-05-18 20:35:57 +02:00
hinic_pmd_rx.h net/hinic: optimize Rx performance for x86 2020-07-30 00:41:23 +02:00
hinic_pmd_tx.c net/hinic: refactor checksum functions 2020-07-30 00:41:23 +02:00
hinic_pmd_tx.h net/hinic: adds Tx queue xstats members 2020-04-21 13:57:07 +02:00
meson.build net/hinic: add flow validation operations 2019-10-23 16:43:08 +02:00
rte_pmd_hinic_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00