numam-dpdk/drivers/net/enic
Hyong Youb Kim dd649913cc net/enic: fix header sizes when copying flow patterns
Several functions use sizeof(struct rte_flow_item_eth) and
sizeof(struct rte_flow_item_ipv6) when copying headers. These sizes
used to coincide with the sizes of rte_ether_hdr and
rte_ipv6_hdr. But, with recently added fields, rte_flow_item_eth and
rte_flow_item_ipv6 have grown in size. Use sizeof(rte_ether_hdr) and
sizeof(rte_ipv6_hdr) instead.

Coverity issue: 363572, 363573
Fixes: ea7768b5bb ("net/enic: add flow implementation based on Flow Manager API")
Cc: stable@dpdk.org

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
2020-11-03 23:35:06 +01:00
..
base net/enic: extend VNIC dev API for VF representors 2020-09-21 18:05:38 +02:00
enic_clsf.c ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
enic_compat.h net/enic: move min/max macros 2020-01-17 19:46:26 +01:00
enic_ethdev.c ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
enic_flow.c net/enic: consolidate and remove some defines 2020-01-17 19:46:26 +01:00
enic_fm_flow.c net/enic: fix header sizes when copying flow patterns 2020-11-03 23:35:06 +01:00
enic_main.c net/enic: add single queue Tx and Rx to VF representor 2020-09-21 18:05:38 +02:00
enic_res.c net/enic: use common min and max macros 2020-02-05 09:51:19 +01:00
enic_res.h net/enic: use common min and max macros 2020-02-05 09:51:19 +01:00
enic_rxtx_common.h net/enic: replace some PMD macros with standard API 2020-01-17 19:46:26 +01:00
enic_rxtx_vec_avx2.c net/enic: check max SIMD bitwidth 2020-10-19 16:45:02 +02:00
enic_rxtx.c net/enic: consolidate and remove some defines 2020-01-17 19:46:26 +01:00
enic_vf_representor.c ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
enic.h ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
meson.build build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00