[dpdk-stable] [PATCH 1/2] eal: fix race in ctrl thread creation
Honnappa Nagarahalli
Honnappa.Nagarahalli at arm.com
Thu Apr 8 19:06:11 CEST 2021
<snip>
>
> 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>
Looks good.
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
<snip>
More information about the stable
mailing list