linux-stable/drivers/infiniband/ulp
Bart Van Assche 4752fafb46 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:33:56 +01:00
..
ipoib RDMA/ipoib: Return void from ipoib_ib_dev_stop() 2020-08-21 09:48:20 +02:00
iser IB/iser: Fix dma_nents type definition 2020-01-27 14:46:53 +01:00
isert scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout" 2020-02-28 16:36:14 +01:00
opa_vnic IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2019-11-24 08:22:52 +01:00
srp RDMA/ib_srp: Fix a deadlock 2022-03-02 11:33:56 +01:00
srpt RDMA/srpt: Report the SCSI residual to the initiator 2020-01-17 19:45:46 +01:00
Makefile