From owner-svn-src-all@FreeBSD.ORG Mon Nov 17 15:27:50 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78678F72; Mon, 17 Nov 2014 15:27:50 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F22053BB; Mon, 17 Nov 2014 15:27:48 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id sAHFReBC030154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 17 Nov 2014 18:27:40 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id sAHFReRV030153; Mon, 17 Nov 2014 18:27:40 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 17 Nov 2014 18:27:40 +0300 From: Gleb Smirnoff To: "Alexander V. Chernikov" Subject: Re: svn commit: r274585 - head/sys/net Message-ID: <20141117152740.GP1031@FreeBSD.org> References: <201411161456.sAGEuWVj029737@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201411161456.sAGEuWVj029737@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 15:27:50 -0000 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.