svn commit: r185965 - head/sys/netinet6

Kip Macy kmacy at FreeBSD.org
Thu Dec 11 18:07:46 PST 2008


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);


More information about the svn-src-all mailing list