svn commit: r265489 - stable/10/sys/cam/ctl
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed May 7 06:14:42 UTC 2014
Author: trasz
Date: Wed May 7 06:14:41 2014
New Revision: 265489
URL: http://svnweb.freebsd.org/changeset/base/265489
Log:
MFC r263745:
Target Transfer Tag is opaque; no need to htonl(3) it.
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_frontend_iscsi.c Wed May 7 06:12:59 2014 (r265488)
+++ stable/10/sys/cam/ctl/ctl_frontend_iscsi.c Wed May 7 06:14:41 2014 (r265489)
@@ -2488,7 +2488,7 @@ cfiscsi_datamove_out(union ctl_io *io)
return;
}
cdw->cdw_ctl_io = io;
- cdw->cdw_target_transfer_tag = htonl(target_transfer_tag);
+ cdw->cdw_target_transfer_tag = target_transfer_tag;
cdw->cdw_initiator_task_tag = bhssc->bhssc_initiator_task_tag;
if (cs->cs_immediate_data && icl_pdu_data_segment_length(request) > 0) {
@@ -2528,7 +2528,7 @@ cfiscsi_datamove_out(union ctl_io *io)
bhsr2t->bhsr2t_flags = 0x80;
bhsr2t->bhsr2t_lun = bhssc->bhssc_lun;
bhsr2t->bhsr2t_initiator_task_tag = bhssc->bhssc_initiator_task_tag;
- bhsr2t->bhsr2t_target_transfer_tag = htonl(target_transfer_tag);
+ bhsr2t->bhsr2t_target_transfer_tag = target_transfer_tag;
/*
* XXX: Here we assume that cfiscsi_datamove() won't ever
* be running concurrently on several CPUs for a given
More information about the svn-src-stable
mailing list