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

2016-04-06 Thread Thomas Monjalon
2016-04-06 15:27, 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 >

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

2016-04-06 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