scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 22 Jun 2018 21:53:01 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Oct 2018 00:01:45 +0000 (17:01 -0700)
commit54cbe6e25b2b68ace2fff2fd4576057d759fe012
tree3142468643c6832b3977223ae4e80681fe64af3a
parent8a76e852e44aa63b0e72d0c9b86d835a895e8023
scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size

[ Upstream commit 35bea5c84fd13c643cce63f0b5cd4b148f8c901d ]

Fixes: e48354ce078c ("iscsi-target: Add iSCSI fabric support for target v4.1")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/iscsi/iscsi_target_tpg.c