From owner-svn-src-all@FreeBSD.ORG Thu Dec 18 09:59:24 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B39001065673; Thu, 18 Dec 2008 09:59:24 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A43B18FC0C; Thu, 18 Dec 2008 09:59:24 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBI9xODk034206; Thu, 18 Dec 2008 09:59:24 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBI9xOPf034205; Thu, 18 Dec 2008 09:59:24 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200812180959.mBI9xOPf034205@svn.freebsd.org> From: Kip Macy Date: Thu, 18 Dec 2008 09:59:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186275 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 18 Dec 2008 09:59:24 -0000 Author: kmacy Date: Thu Dec 18 09:59:24 2008 New Revision: 186275 URL: http://svn.freebsd.org/changeset/base/186275 Log: if_rtdel is always called with the RADIX_NODE_HEAD lock held Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Thu Dec 18 06:38:11 2008 (r186274) +++ head/sys/net/if.c Thu Dec 18 09:59:24 2008 (r186275) @@ -1120,7 +1120,7 @@ if_rtdel(struct radix_node *rn, void *ar return (0); err = rtrequest_fib(RTM_DELETE, rt_key(rt), rt->rt_gateway, - rt_mask(rt), rt->rt_flags, + rt_mask(rt), rt->rt_flags|RTF_RNH_LOCKED, (struct rtentry **) NULL, rt->rt_fibnum); if (err) { log(LOG_WARNING, "if_rtdel: error %d\n", err);