linux/drivers/infiniband/hw
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
..
amso1100 IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
cxgb3 IB/cxgb3: Fix error codes in iwch_alloc_mr() 2017-11-11 13:33:04 +00:00
cxgb4 iw_cxgb4: only allow 1 flush on user qps 2018-12-16 22:09:03 +00:00
ehca Merge branches 'core', 'cxgb4', 'ip-roce', 'iser', 'misc', 'mlx4', 'nes', 'ocrdma', 'qib', 'sgwrapper', 'srp' and 'usnic' into for-next 2014-04-03 08:30:17 -07:00
ipath IB/security: Restrict use of the write() interface 2016-06-15 21:29:28 +01:00
mlx4 IB/mlx4: Fix race condition between catas error reset and aliasguid flows 2019-08-13 12:38:42 +01:00
mlx5 RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path 2018-11-20 18:05:39 +00:00
mthca IB/mthca: Fix error return code in __mthca_init_one() 2019-02-11 17:53:27 +00:00
nes RDMA/nes: Add support for iWARP Port Mapper user space service 2014-06-10 10:12:06 -07:00
ocrdma RDMA/ocrdma: Fix out of bounds index check in query pkey 2019-07-09 22:03:45 +01:00
qib IB/qib: Fix an error code in qib_sdma_verbs_send() 2019-04-04 16:13:57 +01:00
usnic IB/usnic: Fix out of bounds index check in query pkey 2019-07-09 22:03:45 +01:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00