[dpdk-dev] [PATCH] net/mlx5: fix deadlock of link status alarm

Nelio Laranjeiro nelio.laranjeiro at 6wind.com
Wed Jan 10 11:11:44 CET 2018


On Tue, Jan 09, 2018 at 01:09:20AM -0800, Yongseok Koh wrote:
> If mlx5_dev_link_status_handler() is executed while canceling the alarm,
> deadlock can happen because rte_eal_alarm_cancel() waits for all callbackes
> to finish execution and both calls are protected by priv->lock.
> 
> Fixes: 198a3c339a8f ("mlx5: handle link status interrupts")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
<snip/>

Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Thanks,

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list