summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-02-08 00:07:01 +0000
committerbz <bz@FreeBSD.org>2016-02-08 00:07:01 +0000
commit3078b388e3205a7974daa71624945c943dbe1273 (patch)
tree88c1d37cba6f639b94b870c7d0c016fcf373c07e /sys/netinet6
parenta16e63df01529e30d97fa89dc501264f6da0bf51 (diff)
downloadFreeBSD-src-3078b388e3205a7974daa71624945c943dbe1273.zip
FreeBSD-src-3078b388e3205a7974daa71624945c943dbe1273.tar.gz
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)
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_rmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_rmx.c b/sys/netinet6/in6_rmx.c
index 394cdb6..9179b7c 100644
--- a/sys/netinet6/in6_rmx.c
+++ b/sys/netinet6/in6_rmx.c
@@ -290,7 +290,7 @@ in6_detachhead(void **head, int off)
{
callout_drain(&V_rtq_mtutimer);
- return (1);
+ return (rn_detachhead(head));
}
#endif
OpenPOWER on IntegriCloud