numam-dpdk/drivers/net/ice
Kevin Liu ccf33dccf7 net/ice: check illegal packet sizes
If the length of data_len in mbuf is less than 17 or
greater than the maximum frame size, it is illegal.

These illegal packets will lead to Tx/Rx hang and
can't recover automatically.

This patch check those illegal packets and protect
Tx/Rx from hanging.

Fixes: 17c7d0f9d6 ("net/ice: support basic Rx/Tx")
Cc: stable@dpdk.org

Signed-off-by: Kevin Liu <kevinx.liu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2022-09-30 10:28:29 +02:00
..
base net/ice/base: update copyright 2022-09-18 16:12:32 +02:00
ice_acl_filter.c net/ice: fix double free ACL flow entry 2021-09-24 07:46:57 +02:00
ice_dcf_ethdev.c net/ice: add option to disable ACL engine in DCF 2022-09-06 14:54:56 +02:00
ice_dcf_ethdev.h net/ice: add option to disable ACL engine in DCF 2022-09-06 14:54:56 +02:00
ice_dcf_parent.c net/ice: add option to disable ACL engine in DCF 2022-09-06 14:54:56 +02:00
ice_dcf_sched.c net/ice: fix TM hierarchy commit flag reset 2021-10-21 13:32:26 +02:00
ice_dcf_vf_representor.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
ice_dcf.c dev: hide driver object 2022-09-23 16:14:34 +02:00
ice_dcf.h net/ice: complete VLAN offload capability for DCF 2022-05-17 02:46:19 +02:00
ice_ddp_package.c net/ice: refactor flex descriptor protocol field extraction 2022-09-06 14:54:56 +02:00
ice_ethdev.c net/ice: fix PTP init 2022-09-20 10:57:35 +02:00
ice_ethdev.h net/ice: refactor flex descriptor protocol field extraction 2022-09-06 14:54:56 +02:00
ice_fdir_filter.c net/ice: fix raw flow input pattern parsing 2022-04-18 09:27:46 +02:00
ice_generic_flow.c net/ice: add option to disable ACL engine in DCF 2022-09-06 14:54:56 +02:00
ice_generic_flow.h net/ice: support drop any and steer all to queue 2022-02-09 03:16:44 +01:00
ice_hash.c net/ice: refactor parser usage 2022-04-18 07:47:18 +02:00
ice_logs.h net/ice: refine debug build option 2021-04-01 16:10:20 +02:00
ice_rxtx_common_avx.h net/ice: fix generic build on FreeBSD 2021-10-19 13:02:37 +02:00
ice_rxtx_vec_avx2.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
ice_rxtx_vec_avx512.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
ice_rxtx_vec_common.h net/ice: fix Tx offload path choice 2022-03-04 12:35:51 +01:00
ice_rxtx_vec_sse.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
ice_rxtx.c net/ice: check illegal packet sizes 2022-09-30 10:28:29 +02:00
ice_rxtx.h net/ice: check illegal packet sizes 2022-09-30 10:28:29 +02:00
ice_switch_filter.c net/ice: support traffic to original DCF port 2022-09-18 16:12:27 +02:00
ice_testpmd.c net/ice: refactor flex descriptor protocol field extraction 2022-09-06 14:54:56 +02:00
ice_tm.c net/ice: add warning for unsupported TM configuration 2022-05-18 06:23:11 +02:00
meson.build net/ice: refactor flex descriptor protocol field extraction 2022-09-06 14:54:56 +02:00
version.map net/ice: refactor flex descriptor protocol field extraction 2022-09-06 14:54:56 +02:00