Re: [PATCH] IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux