aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/route.c2
-rw-r--r--net/ipv6/xfrm6_policy.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 4d40dc214b2d..9da1ece466a2 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -108,7 +108,6 @@ static struct dst_ops ip6_dst_ops_template = {
108 .link_failure = ip6_link_failure, 108 .link_failure = ip6_link_failure,
109 .update_pmtu = ip6_rt_update_pmtu, 109 .update_pmtu = ip6_rt_update_pmtu,
110 .local_out = __ip6_local_out, 110 .local_out = __ip6_local_out,
111 .entry_size = sizeof(struct rt6_info),
112 .entries = ATOMIC_INIT(0), 111 .entries = ATOMIC_INIT(0),
113}; 112};
114 113
@@ -122,7 +121,6 @@ static struct dst_ops ip6_dst_blackhole_ops = {
122 .destroy = ip6_dst_destroy, 121 .destroy = ip6_dst_destroy,
123 .check = ip6_dst_check, 122 .check = ip6_dst_check,
124 .update_pmtu = ip6_rt_blackhole_update_pmtu, 123 .update_pmtu = ip6_rt_blackhole_update_pmtu,
125 .entry_size = sizeof(struct rt6_info),
126 .entries = ATOMIC_INIT(0), 124 .entries = ATOMIC_INIT(0),
127}; 125};
128 126
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c
index 604bc0a96c05..3b67ce7786ec 100644
--- a/net/ipv6/xfrm6_policy.c
+++ b/net/ipv6/xfrm6_policy.c
@@ -277,7 +277,6 @@ static struct dst_ops xfrm6_dst_ops = {
277 .ifdown = xfrm6_dst_ifdown, 277 .ifdown = xfrm6_dst_ifdown,
278 .local_out = __ip6_local_out, 278 .local_out = __ip6_local_out,
279 .gc_thresh = 1024, 279 .gc_thresh = 1024,
280 .entry_size = sizeof(struct xfrm_dst),
281 .entries = ATOMIC_INIT(0), 280 .entries = ATOMIC_INIT(0),
282}; 281};
283 282