Date: Sun, 28 Dec 2008 14:32:27 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186541 - head/sys/kern Message-ID: <200812281432.mBSEWRkK015811@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Sun Dec 28 14:32:27 2008 New Revision: 186541 URL: http://svn.freebsd.org/changeset/base/186541 Log: drop rnh lock before destroying it Modified: head/sys/kern/vfs_export.c Modified: head/sys/kern/vfs_export.c ============================================================================== --- head/sys/kern/vfs_export.c Sun Dec 28 13:50:58 2008 (r186540) +++ head/sys/kern/vfs_export.c Sun Dec 28 14:32:27 2008 (r186541) @@ -244,6 +244,7 @@ vfs_free_addrlist(struct netexport *nep) if ((rnh = nep->ne_rtable[i])) { RADIX_NODE_HEAD_LOCK(rnh); (*rnh->rnh_walktree) (rnh, vfs_free_netcred, rnh); + RADIX_NODE_HEAD_UNLOCK(rnh); RADIX_NODE_HEAD_DESTROY(rnh); free(rnh, M_RTABLE); nep->ne_rtable[i] = NULL; /* not SMP safe XXX */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812281432.mBSEWRkK015811>