diff options
Diffstat (limited to 'sys/dev/pdq/pdq_ifsubr.c')
-rw-r--r-- | sys/dev/pdq/pdq_ifsubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pdq/pdq_ifsubr.c b/sys/dev/pdq/pdq_ifsubr.c index 5a9a4a1..6510e74 100644 --- a/sys/dev/pdq/pdq_ifsubr.c +++ b/sys/dev/pdq/pdq_ifsubr.c @@ -426,7 +426,8 @@ pdq_ifattach(pdq_softc_t *sc) { struct ifnet *ifp = &sc->sc_if; - mtx_init(&sc->mtx, device_get_nameunit(sc->dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->mtx, device_get_nameunit(sc->dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); ifp->if_softc = sc; ifp->if_init = (if_init_f_t *)pdq_ifinit; |