Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 13:47:14 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r360534 - stable/11/sys/dev/mfi
Message-ID:  <202005011347.041DlEXp008769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri May  1 13:47:13 2020
New Revision: 360534
URL: https://svnweb.freebsd.org/changeset/base/360534

Log:
  MFC r323320 (by scottl): Fix intrhook release in MFI as well

Modified:
  stable/11/sys/dev/mfi/mfi.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mfi/mfi.c
==============================================================================
--- stable/11/sys/dev/mfi/mfi.c	Fri May  1 11:36:39 2020	(r360533)
+++ stable/11/sys/dev/mfi/mfi.c	Fri May  1 13:47:13 2020	(r360534)
@@ -1264,8 +1264,6 @@ mfi_startup(void *arg)
 
 	sc = (struct mfi_softc *)arg;
 
-	config_intrhook_disestablish(&sc->mfi_ich);
-
 	sc->mfi_enable_intr(sc);
 	sx_xlock(&sc->mfi_config_lock);
 	mtx_lock(&sc->mfi_io_lock);
@@ -1274,6 +1272,8 @@ mfi_startup(void *arg)
 	    mfi_syspdprobe(sc);
 	mtx_unlock(&sc->mfi_io_lock);
 	sx_xunlock(&sc->mfi_config_lock);
+
+	config_intrhook_disestablish(&sc->mfi_ich);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005011347.041DlEXp008769>