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: be856325cba3 ("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
..
2017-07-04 14:35:41 +02:00
2017-07-04 14:35:41 +02:00
2017-07-04 14:35:41 +02:00
2017-07-04 14:35:41 +02:00
2016-02-21 11:47:57 +01:00
2017-07-04 14:35:41 +02:00