[dpdk-dev] [PATCH 0/4] fix lpm and hash creation

2016-03-31 Thread Olivier Matz
On 03/30/2016 05:30 PM, Olivier Matz wrote: > Seen while trying to fix the func_reentrancy autotest. The > series addresses several issues: > > 1/ Hash and lpm return a pointer to an existing object if the user requests > the >creation with an already existing name. This look dangerous: whe

[dpdk-dev] [PATCH 0/4] fix lpm and hash creation

2016-03-30 Thread Olivier Matz
Seen while trying to fix the func_reentrancy autotest. The series addresses several issues: 1/ Hash and lpm return a pointer to an existing object if the user requests the creation with an already existing name. This look dangerous: when an object is returned, the user does not know if it sh