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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 2 Jul 2018 20:44:31 +0000 (16:44 -0400)
commit35bea5c84fd13c643cce63f0b5cd4b148f8c901d
tree56edeb4259dc27f4b44cd158de443c7657f00094
parented88f055788a89598c33d183652af8a84dfc5007
scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size

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>
drivers/target/iscsi/iscsi_target_tpg.c