[dpdk-dev] [PATCH] hash: fix incorrect free slot check

Bruce Richardson bruce.richardson at intel.com
Tue Oct 4 11:34:44 CEST 2016


On Tue, Oct 04, 2016 at 08:16:34AM +0100, Pablo de Lara wrote:
> In function rte_hash_cuckoo_insert_mw_tm, while looking for
> an empty slot, only the first entry in the bucket was being checked,
> as key_idx array was not being iterated.
> 
> Fixes: 5fc74c2e146d ("hash: check if slot is empty with key index")
> 
> Reported-by: Bruce Richardson <bruce.richardson at intel.com>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list