Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 00:07:02 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r295389 - in stable/10/sys: netinet netinet6
Message-ID:  <201602080007.u18072uD065679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon Feb  8 00:07:01 2016
New Revision: 295389
URL: https://svnweb.freebsd.org/changeset/base/295389

Log:
  MFC r292601,292654:
  
    Since r256624 (head) we have 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
    Reviewed by:          gnn
    Differential Revision:https://reviews.freebsd.org/D4530
  
  Approved by:		re (gjb)

Modified:
  stable/10/sys/netinet/in_rmx.c
  stable/10/sys/netinet6/in6_rmx.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/in_rmx.c
==============================================================================
--- stable/10/sys/netinet/in_rmx.c	Sun Feb  7 23:42:36 2016	(r295388)
+++ stable/10/sys/netinet/in_rmx.c	Mon Feb  8 00:07:01 2016	(r295389)
@@ -373,7 +373,7 @@ in_detachhead(void **head, int off)
 {
 
 	callout_drain(&V_rtq_timer);
-	return (1);
+	return (rn_detachhead(head));
 }
 #endif
 

Modified: stable/10/sys/netinet6/in6_rmx.c
==============================================================================
--- stable/10/sys/netinet6/in6_rmx.c	Sun Feb  7 23:42:36 2016	(r295388)
+++ stable/10/sys/netinet6/in6_rmx.c	Mon Feb  8 00:07:01 2016	(r295389)
@@ -290,7 +290,7 @@ in6_detachhead(void **head, int off)
 {
 
 	callout_drain(&V_rtq_mtutimer);
-	return (1);
+	return (rn_detachhead(head));
 }
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602080007.u18072uD065679>