[dpdk-dev] [PATCH v2] hash: fix lock release on add

Thomas Monjalon thomas at monjalon.net
Sat Jul 8 19:00:50 CEST 2017


07/07/2017 07:54, Pablo de Lara:
> From: mstolarchuk <mike.stolarchuk at bigswitch.com>
> 
> 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 at dpdk.org
> 
> Signed-off-by: mstolarchuk <mike.stolarchuk at bigswitch.com>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Applied, thanks



More information about the dev mailing list