On Fri, Feb 01, 2019 at 04:07:16PM +0000, Eelco Chaudron wrote:
RFC 4115 allows a meter with either cir and/or eir configured.
When only one is configured a divide by zero would occur.

Fixes: 655796d2b5fb ("meter: support RFC4115 trTCM")
Cc: [email protected]

Signed-off-by: Eelco Chaudron <[email protected]>
---

v2 - Removed configuration change that got included by accident

lib/librte_meter/rte_meter.h |    8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


Reviewed-by: Jens Freimann <[email protected]>


Reply via email to