diff options
author | James Smart <[email protected]> | 2017-05-15 15:20:38 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-05-16 21:17:28 -0400 |
commit | 845d9e8df2fa879e6494e786f290e1fd5560ac8c (patch) | |
tree | 233bffeef163127322ed046af93bb173ef75ed1e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dd6e1f71b785a6ac2511e2ddb86315f292873e59 (diff) |
scsi: lpfc: Fix used-RPI accounting problem.
With 255 vports created a link trasition can casue a crash.
When going through discovery after a link bounce the driver is using
rpis before the cmd FCOE_POST_HDR_TEMPLATES completes. By doing that the
next rpi bumps the rpi range out of the boundary.
The fix it to increment the next_rpi only when the
FCOE_POST_HDR_TEMPLATE succeeds.
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions