summaryrefslogtreecommitdiff
path: root/sys/dev/netmap
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2012-09-26 21:55:13 +0000
committerEd Maste <emaste@FreeBSD.org>2012-09-26 21:55:13 +0000
commited3a2157d42a9e01072b082805dd52a104942148 (patch)
tree51f8507697b93a781759dac23325af488b0f9187 /sys/dev/netmap
parentde3be155b22ef86e790c730d5bbe1e4d71700d37 (diff)
Notes
Diffstat (limited to 'sys/dev/netmap')
-rw-r--r--sys/dev/netmap/netmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c
index 1cd0a92d0a38..9b45f785eb90 100644
--- a/sys/dev/netmap/netmap.c
+++ b/sys/dev/netmap/netmap.c
@@ -1040,6 +1040,7 @@ netmap_detach(struct ifnet *ifp)
knlist_destroy(&na->rx_rings[i].si.si_note);
mtx_destroy(&na->rx_rings[i].q_lock);
}
+ mtx_destroy(&na->core_lock);
knlist_destroy(&na->tx_si.si_note);
knlist_destroy(&na->rx_si.si_note);
bzero(na, sizeof(*na));