Re: [dpdk-dev] [PATCH] net/softnic: fix integer overflow

2017-10-23 Thread Ferruh Yigit
On 10/23/2017 11:54 AM, Ferruh Yigit wrote: > On 10/19/2017 2:39 AM, Jasvinder Singh wrote: >> Fixed integer overflow by casting hard_rate to uint64_t type. > > Coverity Issue: 195020 >> Fixes: 8316b9816b79 ("net/softnic: support traffic management") >> >> Signed-off-by: Jasvinder Singh > > Revi

Re: [dpdk-dev] [PATCH] net/softnic: fix integer overflow

2017-10-23 Thread Ferruh Yigit
On 10/19/2017 2:39 AM, Jasvinder Singh wrote: > Fixed integer overflow by casting hard_rate to uint64_t type. Coverity Issue: 195020 > Fixes: 8316b9816b79 ("net/softnic: support traffic management") > > Signed-off-by: Jasvinder Singh Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH] net/softnic: fix integer overflow

2017-10-19 Thread Jasvinder Singh
Fixed integer overflow by casting hard_rate to uint64_t type. CID 195020 (#1 of 1): Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) Fixes: 8316b9816b79 ("net/softnic: support traffic management") Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_tm.c | 2 +- 1 file