Date: Wed, 26 Sep 2012 21:55:14 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r240975 - stable/9/sys/dev/netmap Message-ID: <201209262155.q8QLtEIk099305@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Wed Sep 26 21:55:13 2012 New Revision: 240975 URL: http://svn.freebsd.org/changeset/base/240975 Log: Add missing mtx_destroy This is a direct commit to stable/9 as the locking is somewhat different in HEAD due to the VALE bridge work (r238812). Modified: stable/9/sys/dev/netmap/netmap.c Modified: stable/9/sys/dev/netmap/netmap.c ============================================================================== --- stable/9/sys/dev/netmap/netmap.c Wed Sep 26 20:47:39 2012 (r240974) +++ stable/9/sys/dev/netmap/netmap.c Wed Sep 26 21:55:13 2012 (r240975) @@ -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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209262155.q8QLtEIk099305>