[dpdk-stable] [PATCH 1/2] eal: fix race in ctrl thread creation
    Olivier Matz 
    olivier.matz at 6wind.com
       
    Thu Apr  8 16:17:45 CEST 2021
    
    
  
On Wed, Apr 07, 2021 at 04:16:04PM -0400, Luc Pelletier wrote:
> The creation of control threads uses a pthread barrier for
> synchronization. This patch fixes a race condition where the pthread
> barrier could get destroyed while one of the threads has not yet
> returned from the pthread_barrier_wait function, which could result in
> undefined behaviour.
> 
> Fixes: 3a0d465 ("eal: fix use-after-free on control thread creation")
> Cc: jianfeng.tan at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Luc Pelletier <lucp.at.work at gmail.com>
Acked-by: Olivier Matz <olivier.matz at 6wind.com>
    
    
More information about the stable
mailing list