svn commit: r359110 - head/sys/dev/ciss
Alexander Motin
mav at FreeBSD.org
Thu Mar 19 00:19:53 UTC 2020
Author: mav
Date: Thu Mar 19 00:19:50 2020
New Revision: 359110
URL: https://svnweb.freebsd.org/changeset/base/359110
Log:
Add missing STAILQ_INIT() in ciss_disable_adapter().
I think it should fix reported panic after "ADAPTER HEARTBEAT FAILED".
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Modified:
head/sys/dev/ciss/ciss.c
Modified: head/sys/dev/ciss/ciss.c
==============================================================================
--- head/sys/dev/ciss/ciss.c Wed Mar 18 23:53:34 2020 (r359109)
+++ head/sys/dev/ciss/ciss.c Thu Mar 19 00:19:50 2020 (r359110)
@@ -3566,6 +3566,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-head
mailing list