summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an.c')
-rw-r--r--sys/dev/an/if_an.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 826d069..069a82b 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -377,8 +377,8 @@ an_attach(sc, unit, flags)
{
struct ifnet *ifp = &sc->arpcom.ac_if;
- mtx_init(&sc->an_mtx, device_get_nameunit(sc->an_dev), MTX_DEF |
- MTX_RECURSE);
+ mtx_init(&sc->an_mtx, device_get_nameunit(sc->an_dev), MTX_NETWORK_LOCK,
+ MTX_DEF | MTX_RECURSE);
AN_LOCK(sc);
sc->an_gone = 0;
OpenPOWER on IntegriCloud