[dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero

2015-11-04 Thread Thomas Monjalon
2015-09-28 11:29, Bruce Richardson: > On Thu, Sep 17, 2015 at 11:30:48AM +0100, Pablo de Lara wrote: > > If user has not added an all zero key in the hash table, > > and tries to look it up, it results in an incorrect hit, > > as dummy slot in the key table has all zero as well. > > > > Fixes: 48a

[dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero

2015-09-28 Thread Bruce Richardson
On Thu, Sep 17, 2015 at 11:30:48AM +0100, Pablo de Lara wrote: > If user has not added an all zero key in the hash table, > and tries to look it up, it results in an incorrect hit, > as dummy slot in the key table has all zero as well. > > Fixes: 48a399119619 ("hash: replace with cuckoo hash imple

[dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero

2015-09-17 Thread Pablo de Lara
If user has not added an all zero key in the hash table, and tries to look it up, it results in an incorrect hit, as dummy slot in the key table has all zero as well. Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") Signed-off-by: Pablo de Lara --- Changes in v2: - Include