numam-dpdk/drivers/net/enic
Hyong Youb Kim 37b07be28a net/enic: fix raw item length check
Currently, the raw item is always preceded by a UDP header, and both
land in the L4 pattern buffer. So consider the UDP header size when
checking if the raw spec fits in the L4 buffer.

Coverity issue: 336796, 336850
Fixes: 477959e6ee ("net/enic: enable limited support for raw flow item")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
2019-04-12 11:02:02 +02:00
..
base net/enic: remove unused functions 2019-03-08 17:52:22 +01:00
enic_clsf.c net/enic: fix flow director SCTP matching 2019-03-08 17:52:22 +01:00
enic_compat.h net/enic: add the simple version of Tx handler 2018-07-03 01:54:23 +02:00
enic_ethdev.c net/enic: remove redundant log level check 2019-01-14 17:44:30 +01:00
enic_flow.c net/enic: fix raw item length check 2019-04-12 11:02:02 +02:00
enic_main.c net/enic: reset VXLAN port regardless of overlay offload 2019-03-08 17:52:22 +01:00
enic_res.c net/enic: fix max MTU calculation 2019-03-20 18:15:42 +01:00
enic_res.h net/enic: remove unused functions 2019-03-08 17:52:22 +01:00
enic_rxtx_common.h net/enic: allow flow mark ID 0 2019-03-08 17:52:22 +01:00
enic_rxtx_vec_avx2.c net/enic: add AVX2 based vectorized Rx handler 2018-10-11 18:53:49 +02:00
enic_rxtx.c net/enic: fix size check in Tx prepare handler 2018-11-14 00:35:53 +01:00
enic.h net/enic: fix max MTU calculation 2019-03-20 18:15:42 +01:00
Makefile net/enic: remove unused functions 2019-03-08 17:52:22 +01:00
meson.build net/enic: remove unused functions 2019-03-08 17:52:22 +01:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00