svn commit: r361536 - head/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Tue May 26 19:09:20 UTC 2020
Author: mav
Date: Tue May 26 19:09:19 2020
New Revision: 361536
URL: https://svnweb.freebsd.org/changeset/base/361536
Log:
Properly check kern_sg_entries for S/G list.
ctl_data_print() is called in core context, so does not even know meaning
of ext_sg_entries.
MFC after: 1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sys/cam/ctl/ctl_util.c
Modified: head/sys/cam/ctl/ctl_util.c
==============================================================================
--- head/sys/cam/ctl/ctl_util.c Tue May 26 19:03:45 2020 (r361535)
+++ head/sys/cam/ctl/ctl_util.c Tue May 26 19:09:19 2020 (r361536)
@@ -861,7 +861,7 @@ ctl_data_print(union ctl_io *io)
return;
if (io->io_hdr.flags & CTL_FLAG_BUS_ADDR)
return;
- if (io->scsiio.ext_sg_entries > 0) /* XXX: Implement */
+ if (io->scsiio.kern_sg_entries > 0) /* XXX: Implement */
return;
ctl_scsi_path_string(io, path_str, sizeof(path_str));
len = min(io->scsiio.kern_data_len, 4096);
More information about the svn-src-head
mailing list