numam-dpdk/lib/librte_hash
Mike Stolarchuk 61d04efc38 hash: fix lock release on add
When adding items to a hash table with multiple threads,
there is an spinlock used to prevent data corruption
(unless Transactional Memory is supported).

If there is a failure, the spinlock should be released,
but there were cases where that was not happening.

Fixes: be856325cb ("hash: add scalable multi-writer insertion with Intel TSX")
Cc: stable@dpdk.org

Signed-off-by: Mike Stolarchuk <mike.stolarchuk@bigswitch.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-07-08 19:00:22 +02:00
..
Makefile hash: compile ARMv8 CRC32 support conditionally 2017-07-03 22:27:42 +02:00
rte_cmp_arm64.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_cmp_x86.h hash: remove checks for SSE 2017-07-04 14:35:41 +02:00
rte_crc_arm64.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_cuckoo_hash_x86.h
rte_cuckoo_hash.c hash: fix lock release on add 2017-07-08 19:00:22 +02:00
rte_cuckoo_hash.h hash: remove checks for SSE 2017-07-04 14:35:41 +02:00
rte_fbk_hash.c
rte_fbk_hash.h hash: remove checks for SSE 2017-07-04 14:35:41 +02:00
rte_hash_crc.h hash: remove checks for SSE 2017-07-04 14:35:41 +02:00
rte_hash_version.map
rte_hash.h
rte_jhash.h
rte_thash.h hash: remove checks for SSE 2017-07-04 14:35:41 +02:00