⬢ DragonFlyBSD Kernel Audit
DF-3582 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/disk/isp/isp.c
+++ b/sys/dev/disk/isp/isp.c
@@ -6105,7 +6105,7 @@ isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, long *rp)
 	case RQCS_RESET_OCCURRED:
 	{
 		int chan;
 		isp_xs_prt(isp, xs, ISP_LOGWARN, "Bus Reset destroyed command");
 		for (chan = 0; chan < isp->isp_nchan; chan++) {
-			FCPARAM(isp, chan)->sendmarker = 1;
+			ISP_SET_SENDMARKER(isp, chan, 1);
 		}
 		if (XS_NOERR(xs)) {
 			XS_SETERR(xs, HBA_BUSRESET);