diff options
author | Mike Christie <michael.christie@oracle.com> | 2020-07-02 04:43:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-08 07:14:34 +0300 |
commit | bd7f65d952007adceceecece39705bb3a1b55f90 (patch) | |
tree | 2e8e6d6953d01fe69270034782d9b00ba884015f /block/blk.h | |
parent | a6f9b6cee3f25fdf08953553a468e658fed00f3c (diff) | |
download | linux-bd7f65d952007adceceecece39705bb3a1b55f90.tar.xz |
scsi: target: Fix iscsi transport id buf len calculation
The isid returned to the initiator is in string format which is 12
bytes. We also only add 1 terminating NULL and not one after the initiator
name and another one after the isid.
Link: https://lore.kernel.org/r/1593654203-12442-7-git-send-email-michael.christie@oracle.com
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions