From owner-svn-src-head@FreeBSD.ORG Fri Dec 12 02:07:46 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D5F21065675; Fri, 12 Dec 2008 02:07:46 +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 2D4838FC18; Fri, 12 Dec 2008 02:07:46 +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 mBC27ksf083327; Fri, 12 Dec 2008 02:07:46 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBC27jKg083326; Fri, 12 Dec 2008 02:07:46 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200812120207.mBC27jKg083326@svn.freebsd.org> From: Kip Macy Date: Fri, 12 Dec 2008 02:07:45 +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: r185965 - head/sys/netinet6 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 02:07:46 -0000 Author: kmacy Date: Fri Dec 12 02:07:45 2008 New Revision: 185965 URL: http://svn.freebsd.org/changeset/base/185965 Log: RTF_RNH_LOCKED needs to be passed in the flags arg not report, apologies to thompsa Modified: head/sys/netinet6/in6_ifattach.c Modified: head/sys/netinet6/in6_ifattach.c ============================================================================== --- head/sys/netinet6/in6_ifattach.c Fri Dec 12 01:46:59 2008 (r185964) +++ head/sys/netinet6/in6_ifattach.c Fri Dec 12 02:07:45 2008 (r185965) @@ -834,7 +834,7 @@ in6_ifdetach(struct ifnet *ifp) /* XXX grab lock first to avoid LOR */ if (V_rt_tables[0][AF_INET6] != NULL) { RADIX_NODE_HEAD_LOCK(V_rt_tables[0][AF_INET6]); - rt = rtalloc1((struct sockaddr *)&sin6, RTF_RNH_LOCKED, 0UL); + rt = rtalloc1((struct sockaddr *)&sin6, 0, RTF_RNH_LOCKED); if (rt) { if (rt->rt_ifp == ifp) rtexpunge(rt);