linux/drivers/infiniband/ulp
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
..
ipoib IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler 2018-09-05 15:32:06 -06:00
iser Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
isert IB/isert: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:36 -06:00
opa_vnic net: allow ndo_select_queue to pass netdev 2018-07-09 13:41:34 -07:00
srp IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop 2018-09-19 15:28:24 -06:00
srpt Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00