Skip to content
Commit 1ea9b463 authored by tangwenji's avatar tangwenji Committed by Martin K. Petersen
Browse files

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: default avatartangwenji <tang.wenji@zte.com.cn>
Reviewed-by: default avatarMike Christie <mchristi@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ee26724a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment