diff options
author | trasz <trasz@FreeBSD.org> | 2014-05-07 06:14:41 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-05-07 06:14:41 +0000 |
commit | 6296615c5f3f6e32cc97f75e7df2ebfeae965684 (patch) | |
tree | 76c74a6491196eb7c8fc55f5b04c9bbe3866ad2f | |
parent | 3c0db90228687833016cd2ff8ec8d23f8e7223bc (diff) | |
download | FreeBSD-src-6296615c5f3f6e32cc97f75e7df2ebfeae965684.zip FreeBSD-src-6296615c5f3f6e32cc97f75e7df2ebfeae965684.tar.gz |
MFC r263745:
Target Transfer Tag is opaque; no need to htonl(3) it.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/cam/ctl/ctl_frontend_iscsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.c b/sys/cam/ctl/ctl_frontend_iscsi.c index 29444c6..e78ce79 100644 --- a/sys/cam/ctl/ctl_frontend_iscsi.c +++ b/sys/cam/ctl/ctl_frontend_iscsi.c @@ -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 |