mbox series

[v2,0/2] Fix a deadlock in the ib_srp driver

Message ID 20220215210511.28303-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Fix a deadlock in the ib_srp driver | expand

Message

Bart Van Assche Feb. 15, 2022, 9:05 p.m. UTC
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(-)

Comments

Jason Gunthorpe Feb. 23, 2022, 7:14 p.m. UTC | #1
On Tue, Feb 15, 2022 at 01:05:09PM -0800, Bart Van Assche wrote:
> Bart Van Assche (2):
>   ib_srp: Add more documentation

Applied to for-next

>   ib_srp: Fix a deadlock

Applied to for-rc

Jason