summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-02-01 21:11:08 +0000
committerbz <bz@FreeBSD.org>2009-02-01 21:11:08 +0000
commit5d8f0a53a75aefe97721f737758596bf3b542e2c (patch)
treea5470a3738df362d49e1bb6da8886ec0f93e4d7c /sys/netinet6/ip6_var.h
parent23001c70f6bbdc9d9fdf1e5004247a1ca399bca0 (diff)
downloadFreeBSD-src-5d8f0a53a75aefe97721f737758596bf3b542e2c.zip
FreeBSD-src-5d8f0a53a75aefe97721f737758596bf3b542e2c.tar.gz
Remove the single global unlocked route cache ip6_forward_rt
from the inet6 stack along with statistics and make sure we properly free the rt in all cases. While the current situation is not better performance wise it prevents panics seen more often these days. After more inet6 and ipsec cleanup we should be able to improve the situation again passing the rt to ip6_forward directly. Leave the ip6_forward_rt entry in struct vinet6 but mark it for removal. PR: kern/128247, kern/131038 MFC after: 25 days Committed from: Bugathon #6 Tested by: Denis Ahrens <denis@h3q.com> (different initial version)
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 00b19a7..9e8476c 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -229,9 +229,6 @@ struct ip6stat {
/* number of times that a deprecated address is chosen */
u_quad_t ip6s_sources_deprecated[16];
- u_quad_t ip6s_forward_cachehit;
- u_quad_t ip6s_forward_cachemiss;
-
/* number of times that each rule of source selection is applied. */
u_quad_t ip6s_sources_rule[16];
};
OpenPOWER on IntegriCloud