linux/drivers/infiniband
Jack Morgenstein 507ed215f5 IB/mlx4: Fix race condition between catas error reset and aliasguid flows
commit 587443e777 upstream.

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: Ben Hutchings <ben@decadent.org.uk>
History 2019-08-13 12:38:42 +01:00
..
core RDMA/cm: Respect returned status of cm_init_av_by_path 2019-02-11 17:53:35 +00:00
hw IB/mlx4: Fix race condition between catas error reset and aliasguid flows 2019-08-13 12:38:42 +01:00
ulp IB/ipoib: Fix for use-after-free in ipoib_cm_tx_start 2019-05-02 21:41:29 +01:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00