Re: [lng-odp] [PATCH] linux-generic: pool: don't allocate buffers from invalid pool

2017-03-09 Thread Bill Fischofer
On Thu, Mar 9, 2017 at 1:21 PM Maxim Uvarov wrote: > On 03/09/2017 03:01 PM, Dmitry Eremin-Solenikov wrote: > > Check that passed pool is not ODP_POOL_INVALID before goint to try to > > allocate buffers from that pool. > > > > Signed-off-by: Dmitry Eremin-Solenikov < > dmitry.ereminsoleni...@lina

Re: [lng-odp] [PATCH] linux-generic: pool: don't allocate buffers from invalid pool

2017-03-09 Thread Maxim Uvarov
On 03/09/2017 03:01 PM, Dmitry Eremin-Solenikov wrote: Check that passed pool is not ODP_POOL_INVALID before goint to try to allocate buffers from that pool. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_pool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pl

[lng-odp] [PATCH] linux-generic: pool: don't allocate buffers from invalid pool

2017-03-09 Thread Dmitry Eremin-Solenikov
Check that passed pool is not ODP_POOL_INVALID before goint to try to allocate buffers from that pool. Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_pool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/o