android_kernel_oneplus_msm8998/drivers/infiniband
Jack Morgenstein b33c00770b IB/mlx4: Fix race condition between catas error reset and aliasguid flows
[ Upstream commit 587443e7773e150ae29e643ee8f41a1eed226565 ]

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: a0c64a17ab ("mlx4: Add alias_guid mechanism")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-27 09:33:56 +02:00
..
core mm: replace get_user_pages() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
hw IB/mlx4: Fix race condition between catas error reset and aliasguid flows 2019-04-27 09:33:56 +02:00
ulp RDMA/srp: Rework SCSI device reset handling 2019-03-23 08:44:17 +01:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-07-17 11:31:46 +02:00
Makefile