diff options
author | Bodo Stroesser <bstroesser@ts.fujitsu.com> | 2020-04-08 15:26:09 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-13 14:00:40 -0400 |
commit | 13ef143ddd93a5c8ee1e721683786a82eb9b126d (patch) | |
tree | 27abdb5a0cfba1107a7e6a2d1147ad33b5102af7 /crypto/ecc.c | |
parent | d6b23a7ce0f781ba2844adcade289ebbc57df8e7 (diff) | |
download | linux-13ef143ddd93a5c8ee1e721683786a82eb9b126d.tar.bz2 |
scsi: target: Write NULL to *port_nexus_ptr if no ISID
This patch fixes a minor flaw that could be triggered by a PR OUT RESERVE
on iSCSI, if TRANSPORT IDs with and without ISID are used in the same
command. In case an ISCSI Transport ID has no ISID, port_nexus_ptr was not
used to write NULL, so value from previous call might persist. I don't
know if that ever could happen, but with the change the code is cleaner, I
think.
Link: https://lore.kernel.org/r/20200408132610.14623-2-bstroesser@ts.fujitsu.com
Signed-off-by: Bodo Stroesser <bstroesser@ts.fujitsu.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'crypto/ecc.c')
0 files changed, 0 insertions, 0 deletions