Re: [dpdk-dev] [PATCH 04/10] app/regex: fix division by zero

2021-04-19 Thread Ori Kam
Hi Min, > -Original Message- > From: Min Hu (Connor) > Sent: Monday, April 19, 2021 4:35 PM > Subject: [PATCH 04/10] app/regex: fix division by zero > > Variable nb_jobs, which may be zero, is used as a denominator. > > This patch fixed it. > > Fixes: f5cffb7eb7fb ("app/regex: read dat

[dpdk-dev] [PATCH 04/10] app/regex: fix division by zero

2021-04-19 Thread Min Hu (Connor)
Variable nb_jobs, which may be zero, is used as a denominator. This patch fixed it. Fixes: f5cffb7eb7fb ("app/regex: read data file once at startup") Cc: sta...@dpdk.org Signed-off-by: Min Hu (Connor) --- app/test-regex/main.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff