numam-dpdk/drivers/net/ice
Tao Zhu f761def512 net/ice: fix hash flow crash
Commit 'dc36bd5dfdeb' mistakenly initializes ret as -rte_errno, then
return ret if ice_search_pattern_match_item fails, if rte_errno happens
to be 0 in this case, it would cause an unrecognized flow rule to be
marked as recognition success. Later, when the code tries to parse the
flow rule, a segmentation fault will occur due to null pointer
reference.

Fixes: dc36bd5dfd ("net/ice: fix flow FDIR/switch memory leak")
Cc: stable@dpdk.org

Signed-off-by: Tao Zhu <taox.zhu@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2020-03-18 10:21:41 +01:00
..
base net/ice: fix flow director passthru 2020-02-14 12:42:12 +01:00
ice_ethdev.c net/ice: fix queue MSI-X interrupt binding 2020-02-21 11:41:20 +01:00
ice_ethdev.h net/ice: fix GTP-U rule conflict 2020-02-05 09:51:21 +01:00
ice_fdir_filter.c net/ice: fix flow director passthru 2020-02-14 12:42:12 +01:00
ice_generic_flow.c net/ice: fix flow director GTP-U pattern 2020-02-05 09:51:19 +01:00
ice_generic_flow.h net/ice: fix flow director GTP-U pattern 2020-02-05 09:51:19 +01:00
ice_hash.c net/ice: fix hash flow crash 2020-03-18 10:21:41 +01:00
ice_logs.h net/ice: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:58 +02:00
ice_rxtx_vec_avx2.c net/ice: support RSS in AVX path 2019-10-23 16:43:09 +02:00
ice_rxtx_vec_common.h net/ice: disable TSO offload in vector path 2020-01-17 19:45:23 +01:00
ice_rxtx_vec_sse.c net/ice: support RSS in SSE path 2019-10-23 16:43:09 +02:00
ice_rxtx.c net/ice: fix unchecked Tx cleanup error 2020-02-14 12:42:13 +01:00
ice_rxtx.h net/ice: cleanup Tx buffers 2020-01-17 19:46:26 +01:00
ice_switch_filter.c net/ice/base: fix switch programming for IPv6 2019-11-20 17:36:05 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/ice: enable advanced RSS 2019-10-23 16:43:10 +02:00
rte_pmd_ice_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_pmd_ice.h doc: add ice PMD in doxygen 2019-11-11 14:23:02 +01:00