OpenCloudOS-Kernel/drivers/infiniband/ulp/srp
Bart Van Assche ee92efe41c IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
Use different loop variables for the inner and outer loop. This avoids
that an infinite loop occurs if there are more RDMA channels than
target->req_ring_size.

Fixes: d92c0da71a ("IB/srp: Add multichannel support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-19 15:28:24 -06:00
..
Kbuild IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00
Kconfig ib_srp: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:44 -04:00
ib_srp.c IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop 2018-09-19 15:28:24 -06:00
ib_srp.h IB/srp: Add target_can_queue login parameter 2018-01-23 11:35:05 -05:00