Skip to content

Fix a deadlock in the ib_srp driver

Bart Van Assche linux-rdma 2 versions Applied

Status from this message: Applied to for-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Dropped patch 2/3, the patch that converts a spinlock into a mutex.
- Simplified patch 3/3 by removing a flush_work() loop.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2ib_srp: Add more documentationdrivers/infiniband/ulp/srp/ib_srp.h+10 -10 replies
2/2ib_srp: Fix a deadlockdrivers/infiniband/ulp/srp/ib_srp.c+4 -21 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix a deadlock in the ib_srp driver

Hi Jason,

This patch series fixes a deadlock in the ib_srp driver that was discovered by syzbot. Please consider these patches for kernel v5.18.

Thanks,

Bart.

Changes compared to v1:
- Dropped patch 2/3, the patch that converts a spinlock into a mutex.
- Simplified patch 3/3 by removing a flush_work() loop.

Bart Van Assche (2):
ib_srp: Add more documentation
ib_srp: Fix a deadlock

 drivers/infiniband/ulp/srp/ib_srp.c |  6 ++++--
 drivers/infiniband/ulp/srp/ib_srp.h | 11 ++++++++++-
 2 files changed, 14 insertions(+), 3 deletions(-)