diff options
author | pjd <pjd@FreeBSD.org> | 2006-06-04 13:45:04 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-06-04 13:45:04 +0000 |
commit | 5d2b8cab828eedc85a6a2c3487e581dfea7dbbac (patch) | |
tree | 87161b8520349cf4d86b5938bd9196fd59fe01c7 /sys/dev/ubsec | |
parent | f0bc1f92771630952fc94da179e5879523d37c33 (diff) | |
download | FreeBSD-src-5d2b8cab828eedc85a6a2c3487e581dfea7dbbac.zip FreeBSD-src-5d2b8cab828eedc85a6a2c3487e581dfea7dbbac.tar.gz |
Don't forget to destroy the sc_freeqlock mutex on detach.
Diffstat (limited to 'sys/dev/ubsec')
-rw-r--r-- | sys/dev/ubsec/ubsec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index f5a22b0..09619a1 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -527,6 +527,7 @@ ubsec_detach(device_t dev) free(q, M_DEVBUF); } mtx_destroy(&sc->sc_mcr1lock); + mtx_destroy(&sc->sc_freeqlock); #ifndef UBSEC_NO_RNG if (sc->sc_flags & UBS_FLAGS_RNG) { ubsec_dma_free(sc, &sc->sc_rng.rng_q.q_mcr); |