Date: Tue, 22 Dec 2015 14:53:19 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292601 - in head/sys: netinet netinet6 Message-ID: <201512221453.tBMErJko042711@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512221453.tBMErJko042711>