Re: [PATCH rdma-next] IB/mlx4: Fix race condition between catas error reset and aliasguid flows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 06, 2019 at 07:17:56PM +0200, Leon Romanovsky wrote:
> From: Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
> 
> Code review revealed a race condition which could allow the catas error
> flow to interrupt the alias guid query post mechanism at random points.
> Thiis is fixed by doing cancel_delayed_work_sync() instead of
> cancel_delayed_work() during the alias guid mechanism destroy flow.
> 
> Fixes: a0c64a17aba8 ("mlx4: Add alias_guid mechanism")
> Signed-off-by: Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx4/alias_GUID.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-rc thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux