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

2015-09-17 Thread Thomas Monjalon
Hi Pablo, 2015-09-17 10:04, 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. > > Signed-off-by: Pablo de Lara Please try to remember to use "Fixes:" tag.

[dpdk-dev] [PATCH] 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. Signed-off-by: Pablo de Lara --- doc/guides/rel_notes/release_2_2.rst | 5 + lib/librte_hash/rte_cuckoo_hash.c| 27 +