numam-dpdk/lib/librte_acl
Konstantin Ananyev 5394547798 acl: forbid rule with priority zero
If user specifies priority=0 for some of ACL rules
that can cause rte_acl_classify to return wrong results.
The reason is that priority zero is used internally for no-match nodes.
See more details at: https://bugs.dpdk.org/show_bug.cgi?id=79.
The simplest way to overcome the issue is just not allow zero
to be a valid priority for the rule.

Fixes: dc276b5780 ("acl: new library")
Cc: stable@dpdk.org

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2018-09-16 11:53:25 +02:00
..
acl_bld.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_gen.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_altivec.c acl: add AltiVec for ppc64 2016-09-09 17:56:14 +02:00
acl_run_altivec.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
acl_run_avx2.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_avx2.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_neon.c lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
acl_run_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
acl_run_scalar.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_sse.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_vect.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_acl_osdep.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_acl_version.map acl: remove old API 2015-09-03 19:22:48 +02:00
rte_acl.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_acl.h acl: forbid rule with priority zero 2018-09-16 11:53:25 +02:00
tb_mem.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
tb_mem.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00