numam-dpdk/app
Min Hu (Connor) a767951e59 app/testpmd: fix division by zero on socket memory dump
Variable total, which may be zero and result in segmentation fault.

This patch fixed it.

Fixes: 9b1249d9ff ("app/testpmd: support dumping socket memory")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-04-29 15:34:39 +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/kni: check init result 2021-04-26 15:33:07 +02:00
test-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-bbdev app: reduce indentation in build files 2021-04-21 14:04:09 +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: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-eventdev build: fix formatting of Meson lists 2021-05-04 15:01:47 +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: fix division by zero on socket memory dump 2021-04-29 15:34:39 +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