Date: Mon, 17 Nov 2014 18:27:40 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: "Alexander V. Chernikov" <melifaro@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r274585 - head/sys/net Message-ID: <20141117152740.GP1031@FreeBSD.org> In-Reply-To: <201411161456.sAGEuWVj029737@svn.freebsd.org> References: <201411161456.sAGEuWVj029737@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2014 at 02:56:32PM +0000, Alexander V. Chernikov wrote: A> Author: melifaro A> Date: Sun Nov 16 14:56:31 2014 A> New Revision: 274585 A> URL: https://svnweb.freebsd.org/changeset/base/274585 A> A> Log: A> Make witness happy: destroy rte lock before free. A> MFC after: 2 weeks A> Modified: A> head/sys/net/route.c A> A> Modified: head/sys/net/route.c A> ============================================================================== A> --- head/sys/net/route.c Sun Nov 16 13:57:53 2014 (r274584) A> +++ head/sys/net/route.c Sun Nov 16 14:56:31 2014 (r274585) A> @@ -517,6 +517,7 @@ rtfree(struct rtentry *rt) A> /* A> * and the rtentry itself of course A> */ A> + RT_LOCK_DESTROY(rt); A> uma_zfree(V_rtzone, rt); A> return; A> } This is not right fix. The lock will be destroyed second time by rtentry_zfini(). Can you please point me at revision that introduced the problem, you are trying to solve? -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141117152740.GP1031>