summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sk.c')
-rw-r--r--sys/pci/if_sk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 143c4e4..f09df99 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -1194,7 +1194,7 @@ static int sk_attach(dev)
unit = device_get_unit(dev);
bzero(sc, sizeof(struct sk_softc));
- mtx_init(&sc->sk_mtx, device_get_nameunit(dev), MTX_DEF);
+ mtx_init(&sc->sk_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
SK_LOCK(sc);
/*
OpenPOWER on IntegriCloud