svn commit: r274921 - projects/routing/sys/net

Alexander V. Chernikov melifaro at FreeBSD.org
Sun Nov 23 17:47:13 UTC 2014


Author: melifaro
Date: Sun Nov 23 17:47:12 2014
New Revision: 274921
URL: https://svnweb.freebsd.org/changeset/base/274921

Log:
  Finish r274335#2: put RT_LOCK_DESTROY() back.

Modified:
  projects/routing/sys/net/route.c

Modified: projects/routing/sys/net/route.c
==============================================================================
--- projects/routing/sys/net/route.c	Sun Nov 23 17:45:49 2014	(r274920)
+++ projects/routing/sys/net/route.c	Sun Nov 23 17:47:12 2014	(r274921)
@@ -1505,6 +1505,7 @@ rtrequest1_fib(int req, struct rt_addrin
 		if (rn == NULL) {
 			ifa_free(rt->rt_ifa);
 			Free(rt_key(rt));
+			RT_LOCK_DESTROY(rt);
 			uma_zfree(V_rtzone, rt);
 #ifdef FLOWTABLE
 			if (rt0 != NULL)


More information about the svn-src-projects mailing list