[dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero
Bruce Richardson
bruce.richardson at intel.com
Mon Sep 28 12:29:48 CEST 2015
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 implementation")
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
> Changes in v2:
> - Include Fixes: tag in commit message
>
> doc/guides/rel_notes/release_2_2.rst | 5 +++++
> lib/librte_hash/rte_cuckoo_hash.c | 27 +++++++++++++++++----------
> 2 files changed, 22 insertions(+), 10 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list