Re: [dpdk-dev] [dpdk-stable] [PATCH v2] mem: fix the alloc size roundup overflow

2020-05-07 Thread David Marchand
On Thu, May 7, 2020 at 2:16 PM Bing Zhao wrote: > > Hi David, > I've changed the space into tabs in v3 and suppressed this one. Ok, I would have noticed anyway :-) Thanks. -- David Marchand

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] mem: fix the alloc size roundup overflow

2020-05-07 Thread Bing Zhao
Hi David, I've changed the space into tabs in v3 and suppressed this one. Thanks a lot BR. Bing > -Original Message- > From: David Marchand > Sent: Thursday, May 7, 2020 8:12 PM > To: Burakov, Anatoly ; Bing Zhao > > Cc: Thomas Monjalon ; dev ; > dpdk stable ; sergio.gonzalez.mon...@in

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] mem: fix the alloc size roundup overflow

2020-05-07 Thread David Marchand
On Thu, May 7, 2020 at 1:55 PM Burakov, Anatoly wrote: > > On 07-May-20 8:41 AM, Bing Zhao wrote: > > The size checking is done in the caller. The size parameter is an > > unsigned (64b wide) right now, so the comparison with zero should be > > enough in most cases. But it won't help in the follow