Re: [PATCH v3] app/test-fib: fix possible division by zero

2022-02-10 Thread David Marchand
On Fri, Jan 28, 2022 at 6:44 PM Kevin Traynor wrote: > > On 27/01/2022 18:08, Vladimir Medvedkin wrote: > > This patch fixes the division by 0, > > which occurs if the number of routes is less than 10. > > Can be triggered by passing -n argument with value < 10: > > > > ./dpdk-test-fib -- -n 9 > >

Re: [PATCH v3] app/test-fib: fix possible division by zero

2022-01-28 Thread Kevin Traynor
On 27/01/2022 18:08, Vladimir Medvedkin wrote: This patch fixes the division by 0, which occurs if the number of routes is less than 10. Can be triggered by passing -n argument with value < 10: ./dpdk-test-fib -- -n 9 ... Floating point exception (core dumped) Fixes: 103809d032cd ("app/test-fib

[PATCH v3] app/test-fib: fix possible division by zero

2022-01-27 Thread Vladimir Medvedkin
This patch fixes the division by 0, which occurs if the number of routes is less than 10. Can be triggered by passing -n argument with value < 10: ./dpdk-test-fib -- -n 9 ... Floating point exception (core dumped) Fixes: 103809d032cd ("app/test-fib: add test application for FIB") Cc: sta...@dpdk.