Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/testpmd: fix division by zero on socket memory dump
[ upstream commit a767951 ] Variable total, which may be zero and result in segmentation fault. This patch fixed it. Fixes: 9b1249d ("app/testpmd: support dumping socket memory") Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information