[dpdk-dev] [PATCH] rte mempool: division or modulo by zero

2016-05-19 Thread Olivier Matz
Hi Slawomir, On 05/19/2016 12:57 PM, Mrozowicz, SlawomirX wrote: > Hi Olivier, > > I try to marge my change CID 13234 with your patch 12057. > Can you tell me which is the base commit to apply the patch. > I think that I should apply your patches starting from 12834. > Yes that's correct,

[dpdk-dev] [PATCH] rte mempool: division or modulo by zero

2016-05-19 Thread Mrozowicz, SlawomirX
Hi Olivier, I try to marge my change CID 13234 with your patch 12057. Can you tell me which is the base commit to apply the patch. I think that I should apply your patches starting from 12834. Regards, Slawomir >-Original Message- >From: Olivier Matz [mailto:olivier.matz at

[dpdk-dev] [PATCH] rte mempool: division or modulo by zero

2016-05-16 Thread Olivier Matz
Hi Slawomir, On 05/12/2016 02:46 PM, Slawomir Mrozowicz wrote: > Fix issue reported by Coverity. > > Coverity ID 13243: Division or modulo by zero > In function call rte_mempool_xmem_size, division by expression total_size > which may be zero has undefined behavior. > > Fixes: 148f963fb532

[dpdk-dev] [PATCH] rte mempool: division or modulo by zero

2016-05-12 Thread Slawomir Mrozowicz
Fix issue reported by Coverity. Coverity ID 13243: Division or modulo by zero In function call rte_mempool_xmem_size, division by expression total_size which may be zero has undefined behavior. Fixes: 148f963fb532 ("xen: core library changes") Signed-off-by: Slawomir Mrozowicz ---