svn commit: r186052 - head/sys/netinet

Kip Macy kmacy at FreeBSD.org
Sat Dec 13 20:16:03 UTC 2008


Author: kmacy
Date: Sat Dec 13 20:16:03 2008
New Revision: 186052
URL: http://svn.freebsd.org/changeset/base/186052

Log:
  don't acquire lock recursively

Modified:
  head/sys/netinet/in_rmx.c

Modified: head/sys/netinet/in_rmx.c
==============================================================================
--- head/sys/netinet/in_rmx.c	Sat Dec 13 20:15:42 2008	(r186051)
+++ head/sys/netinet/in_rmx.c	Sat Dec 13 20:16:03 2008	(r186052)
@@ -115,7 +115,7 @@ in_addroute(void *v_arg, void *n_arg, st
 		 * ARP entry and delete it if so.
 		 */
 		rt2 = in_rtalloc1((struct sockaddr *)sin, 0,
-		    RTF_CLONING, rt->rt_fibnum);
+		    RTF_CLONING|RTF_RNH_LOCKED, rt->rt_fibnum);
 		if (rt2) {
 			if (rt2->rt_flags & RTF_LLINFO &&
 			    rt2->rt_flags & RTF_HOST &&


More information about the svn-src-all mailing list