hash: fix crash when adding already inserted keys
hash: fix crash when adding already inserted keys

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.

Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation")

Signed-off-by: Xavier Simonart <f2ddb151d8083e7c9881ca88556ce1facbafaf49@intel.com>
Acked-by: Sergio Gonzalez Monroy <efb28dd1236fe58fb57f933212eddfe89b9da704@intel.com>

tsphillips/dpdk-fork,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,mixja/dpdk,msune/dpdk,msune/dpdk,venkynv/dpdk-mirror,msune/dpdk,tsphillips/dpdk-fork,mixja/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,msune/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,tsphillips/dpdk-fork