Thread (5 messages) read the whole thread 5 messages, 3 authors, 2017-07-31

Re: [PATCH 2/2] app/testeventdev: fix a divide by zero case

From: Van Haaren, Harry <hidden>
Date: 2017-07-31 10:09:13

From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com]
Sent: Monday, July 31, 2017 11:05 AM
To: dev@dpdk.org
Cc: thomas@monjalon.net; Richardson, Bruce <redacted>; Van Haaren, Harry
[off-list ref]; hemant.agrawal@nxp.com; Eads, Gage [off-list ref];
nipun.gupta@nxp.com; gprathyusha@caviumnetworks.com; Jerin Jacob
[off-list ref]; stable@dpdk.org
Subject: [dpdk-dev] [PATCH 2/2] app/testeventdev: fix a divide by zero case

pkts == 0 will result in divide by zero case.
Added a check to fix it.

Coverity issue: 158652
Fixes: 9d3aeb185eb4 ("app/testeventdev: launch perf lcores")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <redacted>
Acked-by: Harry van Haaren <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help