svn commit: r274585 - head/sys/net
Alexander V. Chernikov
melifaro at FreeBSD.org
Sun Nov 16 14:56:32 UTC 2014
Author: melifaro
Date: Sun Nov 16 14:56:31 2014
New Revision: 274585
URL: https://svnweb.freebsd.org/changeset/base/274585
Log:
Make witness happy: destroy rte lock before free.
MFC after: 2 weeks
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
==============================================================================
--- head/sys/net/route.c Sun Nov 16 13:57:53 2014 (r274584)
+++ head/sys/net/route.c Sun Nov 16 14:56:31 2014 (r274585)
@@ -517,6 +517,7 @@ rtfree(struct rtentry *rt)
/*
* and the rtentry itself of course
*/
+ RT_LOCK_DESTROY(rt);
uma_zfree(V_rtzone, rt);
return;
}
More information about the svn-src-all
mailing list