svn commit: r359552 - stable/11/sys/dev/ciss
Alexander Motin
mav at FreeBSD.org
Thu Apr 2 00:35:45 UTC 2020
Author: mav
Date: Thu Apr 2 00:28:52 2020
New Revision: 359552
URL: https://svnweb.freebsd.org/changeset/base/359552
Log:
MFC r359110: Add missing STAILQ_INIT() in ciss_disable_adapter().
I think it should fix reported panic after "ADAPTER HEARTBEAT FAILED".
Modified:
stable/11/sys/dev/ciss/ciss.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/ciss/ciss.c
==============================================================================
--- stable/11/sys/dev/ciss/ciss.c Thu Apr 2 00:28:26 2020 (r359551)
+++ stable/11/sys/dev/ciss/ciss.c Thu Apr 2 00:28:52 2020 (r359552)
@@ -3561,6 +3561,7 @@ ciss_disable_adapter(struct ciss_softc *sc)
pci_disable_busmaster(sc->ciss_dev);
sc->ciss_flags &= ~CISS_FLAG_RUNNING;
+ STAILQ_INIT(&qh);
for (i = 1; i < sc->ciss_max_requests; i++) {
cr = &sc->ciss_request[i];
if ((cr->cr_flags & CISS_REQ_BUSY) == 0)
More information about the svn-src-stable-11
mailing list