summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-09-18 04:10:05 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-20 00:28:24 +0300
commitee92efe41cf358f4b99e73509f2bfd4733609f26 (patch)
treea8187ceaf1414fbe76be49d56134c2e1ef3a0055 /tools/perf/scripts/python/exported-sql-viewer.py
parent5fe23f262e0548ca7f19fb79f89059a60d087d22 (diff)
downloadlinux-ee92efe41cf358f4b99e73509f2bfd4733609f26.tar.xz
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: d92c0da71a35 ("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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions