svn commit: r361732 - stable/11/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Tue Jun 2 20:38:54 UTC 2020
Author: mav
Date: Tue Jun 2 20:38:53 2020
New Revision: 361732
URL: https://svnweb.freebsd.org/changeset/base/361732
Log:
MFC r361536: 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.
Modified:
stable/11/sys/cam/ctl/ctl_util.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cam/ctl/ctl_util.c
==============================================================================
--- stable/11/sys/cam/ctl/ctl_util.c Tue Jun 2 20:38:18 2020 (r361731)
+++ stable/11/sys/cam/ctl/ctl_util.c Tue Jun 2 20:38:53 2020 (r361732)
@@ -859,7 +859,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-stable-11
mailing list