numam-dpdk/app
Min Hu (Connor) 07b3c7d8e3 test: fix division by zero
Variable i is used as a denominator which may be zero, and
this may result in segmentation fault.

This patch fixed it.

Fixes: 948bc3d6d0 ("test: add reciprocal based division")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-05-19 09:23:00 +02:00
..
pdump pdump: free mbuf in bulk 2021-01-19 15:24:46 +01:00
proc-info app/procinfo: fix security context info 2021-01-26 14:07:24 +01:00
test test: fix division by zero 2021-05-19 09:23:00 +02:00
test-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-bbdev app/bbdev: fix HARQ error messages 2021-05-05 15:57:59 +02:00
test-cmdline cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
test-compress-perf app: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-crypto-perf app/crypto-perf: check memory allocation 2021-05-12 18:14:19 +02:00
test-eventdev app/eventdev: fix lcore parsing skipping last core 2021-05-09 18:00:18 +02:00
test-fib fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
test-flow-perf ethdev: add pre-defined meter policy API 2021-04-21 12:22:17 +02:00
test-pipeline app: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-pmd app/testpmd: support action meter color 2021-05-12 14:06:27 +02:00
test-regex app/regex: fix usage text 2021-04-09 14:31:41 +02:00
test-sad eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build app: reduce indentation in build files 2021-04-21 14:04:09 +02:00