commit | 1ea9b4633cda461f09b4476ff612d32d78e81c92 | [log] [tgz] |
---|---|---|
author | tangwenji <tang.wenji@zte.com.cn> | Wed Mar 13 22:56:38 2019 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Mar 20 20:36:39 2019 -0400 |
tree | fe610e6d8b9ace3930673145c7842ce617ff96c5 | |
parent | ee26724af6c71a9db786c5809395b4853edd4d54 [diff] |
scsi: target: iscsi: Fix np_ip_proto and np_sock_type in iscsit_setup_np In the switch, np_ip_proto and np_sock_type set different values according to np_network_transport, and then uniformly assign values, so the previous values are overwritten. Signed-off-by: tangwenji <tang.wenji@zte.com.cn> Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>