f761def512
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:
|
||
---|---|---|
.. | ||
base | ||
ice_ethdev.c | ||
ice_ethdev.h | ||
ice_fdir_filter.c | ||
ice_generic_flow.c | ||
ice_generic_flow.h | ||
ice_hash.c | ||
ice_logs.h | ||
ice_rxtx_vec_avx2.c | ||
ice_rxtx_vec_common.h | ||
ice_rxtx_vec_sse.c | ||
ice_rxtx.c | ||
ice_rxtx.h | ||
ice_switch_filter.c | ||
Makefile | ||
meson.build | ||
rte_pmd_ice_version.map | ||
rte_pmd_ice.h |