linux-stable/drivers/infiniband
Bart Van Assche c8b56e51aa RDMA/ib_srp: Fix a deadlock
[ Upstream commit 081bdc9fe0 ]

Remove the flush_workqueue(system_long_wq) call since flushing
system_long_wq is deadlock-prone and since that call is redundant with a
preceding cancel_work_sync()

Link: https://lore.kernel.org/r/20220215210511.28303-3-bvanassche@acm.org
Fixes: ef6c49d87c ("IB/srp: Eliminate state SRP_TARGET_DEAD")
Reported-by: syzbot+831661966588c802aae9@syzkaller.appspotmail.com
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-02 11:48:02 +01:00
..
core IB/cm: Release previously acquired reference counter in the cm_id_priv 2022-02-08 18:34:08 +01:00
hw IB/hfi1: Fix tstats alloc and dealloc 2022-02-08 18:34:08 +01:00
sw RDMA/siw: Fix broken RDMA Read Fence/Resume logic. 2022-02-08 18:34:07 +01:00
ulp RDMA/ib_srp: Fix a deadlock 2022-03-02 11:48:02 +01:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile