svn commit: r292601 - in head/sys: netinet netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Dec 22 14:53:20 UTC 2015
Author: bz
Date: Tue Dec 22 14:53:19 2015
New Revision: 292601
URL: https://svnweb.freebsd.org/changeset/base/292601
Log:
Since r256624 we've been leaking routing table allocations
on vnet enabled jail shutdown. Call the provided cleanup
routines for IP versions 4 and 6 to plug these leaks.
Sponsored by: The FreeBSD Foundation
MFC atfer: 2 weeks
Reviewed by: gnn
Differential Revision: https://reviews.freebsd.org/D4530
Modified:
head/sys/netinet/in_rmx.c
head/sys/netinet6/in6_rmx.c
Modified: head/sys/netinet/in_rmx.c
==============================================================================
--- head/sys/netinet/in_rmx.c Tue Dec 22 13:58:11 2015 (r292600)
+++ head/sys/netinet/in_rmx.c Tue Dec 22 14:53:19 2015 (r292601)
@@ -133,7 +133,7 @@ int
in_detachhead(void **head, int off)
{
- return (1);
+ return (rn_detachhead(head));
}
#endif
Modified: head/sys/netinet6/in6_rmx.c
==============================================================================
--- head/sys/netinet6/in6_rmx.c Tue Dec 22 13:58:11 2015 (r292600)
+++ head/sys/netinet6/in6_rmx.c Tue Dec 22 14:53:19 2015 (r292601)
@@ -266,6 +266,7 @@ in6_detachhead(void **head, int off)
{
callout_drain(&V_rtq_mtutimer);
+ return (rn_detachhead(head));
return (1);
}
#endif
More information about the svn-src-head
mailing list