[dpdk-dev] [PATCH] hash: fix crash when adding already inserted keys

2015-07-28 Thread Thomas Monjalon
> > When adding with cuckoo hash a key which was already inserted > > a new slot is dequeued and then enqueued back, but the enqueue > > operation was not done properly. > > > > Signed-off-by: Xavier Simonart > Acked-by: Sergio Gonzalez Monroy Fixes: 48a399119619 ("hash: replace with cuckoo

[dpdk-dev] [PATCH] hash: fix crash when adding already inserted keys

2015-07-28 Thread Xavier Simonart
When adding with cuckoo hash a key which was already inserted a new slot is dequeued and then enqueued back, but the enqueue operation was not done properly. Signed-off-by: Xavier Simonart --- lib/librte_hash/rte_cuckoo_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH] hash: fix crash when adding already inserted keys

2015-07-28 Thread Gonzalez Monroy, Sergio
On 28/07/2015 15:54, Xavier Simonart wrote: > When adding with cuckoo hash a key which was already inserted > a new slot is dequeued and then enqueued back, but the enqueue > operation was not done properly. > > Signed-off-by: Xavier Simonart > --- > lib/librte_hash/rte_cuckoo_hash.c | 4 ++-- >