[PATCH openEuler-22.03-LTS 2/2] scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()