diff options
author | Bodo Stroesser <[email protected]> | 2020-04-08 15:26:10 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-04-13 14:00:41 -0400 |
commit | 8fed04eb79a74cbf471dfaa755900a51b37273ab (patch) | |
tree | 220c1de30de506a07256a6a80e49c239e83c378c /scripts/gdb/linux/config.py | |
parent | 13ef143ddd93a5c8ee1e721683786a82eb9b126d (diff) |
scsi: target: fix PR IN / READ FULL STATUS for FC
Creation of the response to READ FULL STATUS fails for FC based
reservations. Reason is the too high loop limit (< 24) in
fc_get_pr_transport_id(). The string representation of FC WWPN is 23 chars
long only ("11:22:33:44:55:66:77:88"). So when i is 23, the loop body is
executed a last time for the ending '\0' of the string and thus hex2bin()
reports an error.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bodo Stroesser <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions