On Mon, Sep 17, 2018 at 06:10:05PM -0700, Bart Van Assche wrote: > 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: d92c0da71a35 ("IB/srp: Add multichannel support") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > Cc: Max Gurtovoy <maxg@xxxxxxxxxxxx> > Cc: Laurence Oberman <loberman@xxxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> > --- > drivers/infiniband/ulp/srp/ib_srp.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to for-rc, thanks Jason