diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index d6fe7646a8ff..6aa202e26f97 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2546,7 +2546,6 @@ ctl_table ipv6_route_table_template[] = { | |||
2546 | .proc_handler = ipv6_sysctl_rtcache_flush | 2546 | .proc_handler = ipv6_sysctl_rtcache_flush |
2547 | }, | 2547 | }, |
2548 | { | 2548 | { |
2549 | .ctl_name = NET_IPV6_ROUTE_GC_THRESH, | ||
2550 | .procname = "gc_thresh", | 2549 | .procname = "gc_thresh", |
2551 | .data = &ip6_dst_ops_template.gc_thresh, | 2550 | .data = &ip6_dst_ops_template.gc_thresh, |
2552 | .maxlen = sizeof(int), | 2551 | .maxlen = sizeof(int), |
@@ -2554,7 +2553,6 @@ ctl_table ipv6_route_table_template[] = { | |||
2554 | .proc_handler = proc_dointvec, | 2553 | .proc_handler = proc_dointvec, |
2555 | }, | 2554 | }, |
2556 | { | 2555 | { |
2557 | .ctl_name = NET_IPV6_ROUTE_MAX_SIZE, | ||
2558 | .procname = "max_size", | 2556 | .procname = "max_size", |
2559 | .data = &init_net.ipv6.sysctl.ip6_rt_max_size, | 2557 | .data = &init_net.ipv6.sysctl.ip6_rt_max_size, |
2560 | .maxlen = sizeof(int), | 2558 | .maxlen = sizeof(int), |
@@ -2562,69 +2560,55 @@ ctl_table ipv6_route_table_template[] = { | |||
2562 | .proc_handler = proc_dointvec, | 2560 | .proc_handler = proc_dointvec, |
2563 | }, | 2561 | }, |
2564 | { | 2562 | { |
2565 | .ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL, | ||
2566 | .procname = "gc_min_interval", | 2563 | .procname = "gc_min_interval", |
2567 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, | 2564 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, |
2568 | .maxlen = sizeof(int), | 2565 | .maxlen = sizeof(int), |
2569 | .mode = 0644, | 2566 | .mode = 0644, |
2570 | .proc_handler = proc_dointvec_jiffies, | 2567 | .proc_handler = proc_dointvec_jiffies, |
2571 | .strategy = sysctl_jiffies, | ||
2572 | }, | 2568 | }, |
2573 | { | 2569 | { |
2574 | .ctl_name = NET_IPV6_ROUTE_GC_TIMEOUT, | ||
2575 | .procname = "gc_timeout", | 2570 | .procname = "gc_timeout", |
2576 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_timeout, | 2571 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_timeout, |
2577 | .maxlen = sizeof(int), | 2572 | .maxlen = sizeof(int), |
2578 | .mode = 0644, | 2573 | .mode = 0644, |
2579 | .proc_handler = proc_dointvec_jiffies, | 2574 | .proc_handler = proc_dointvec_jiffies, |
2580 | .strategy = sysctl_jiffies, | ||
2581 | }, | 2575 | }, |
2582 | { | 2576 | { |
2583 | .ctl_name = NET_IPV6_ROUTE_GC_INTERVAL, | ||
2584 | .procname = "gc_interval", | 2577 | .procname = "gc_interval", |
2585 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_interval, | 2578 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_interval, |
2586 | .maxlen = sizeof(int), | 2579 | .maxlen = sizeof(int), |
2587 | .mode = 0644, | 2580 | .mode = 0644, |
2588 | .proc_handler = proc_dointvec_jiffies, | 2581 | .proc_handler = proc_dointvec_jiffies, |
2589 | .strategy = sysctl_jiffies, | ||
2590 | }, | 2582 | }, |
2591 | { | 2583 | { |
2592 | .ctl_name = NET_IPV6_ROUTE_GC_ELASTICITY, | ||
2593 | .procname = "gc_elasticity", | 2584 | .procname = "gc_elasticity", |
2594 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_elasticity, | 2585 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_elasticity, |
2595 | .maxlen = sizeof(int), | 2586 | .maxlen = sizeof(int), |
2596 | .mode = 0644, | 2587 | .mode = 0644, |
2597 | .proc_handler = proc_dointvec_jiffies, | 2588 | .proc_handler = proc_dointvec_jiffies, |
2598 | .strategy = sysctl_jiffies, | ||
2599 | }, | 2589 | }, |
2600 | { | 2590 | { |
2601 | .ctl_name = NET_IPV6_ROUTE_MTU_EXPIRES, | ||
2602 | .procname = "mtu_expires", | 2591 | .procname = "mtu_expires", |
2603 | .data = &init_net.ipv6.sysctl.ip6_rt_mtu_expires, | 2592 | .data = &init_net.ipv6.sysctl.ip6_rt_mtu_expires, |
2604 | .maxlen = sizeof(int), | 2593 | .maxlen = sizeof(int), |
2605 | .mode = 0644, | 2594 | .mode = 0644, |
2606 | .proc_handler = proc_dointvec_jiffies, | 2595 | .proc_handler = proc_dointvec_jiffies, |
2607 | .strategy = sysctl_jiffies, | ||
2608 | }, | 2596 | }, |
2609 | { | 2597 | { |
2610 | .ctl_name = NET_IPV6_ROUTE_MIN_ADVMSS, | ||
2611 | .procname = "min_adv_mss", | 2598 | .procname = "min_adv_mss", |
2612 | .data = &init_net.ipv6.sysctl.ip6_rt_min_advmss, | 2599 | .data = &init_net.ipv6.sysctl.ip6_rt_min_advmss, |
2613 | .maxlen = sizeof(int), | 2600 | .maxlen = sizeof(int), |
2614 | .mode = 0644, | 2601 | .mode = 0644, |
2615 | .proc_handler = proc_dointvec_jiffies, | 2602 | .proc_handler = proc_dointvec_jiffies, |
2616 | .strategy = sysctl_jiffies, | ||
2617 | }, | 2603 | }, |
2618 | { | 2604 | { |
2619 | .ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS, | ||
2620 | .procname = "gc_min_interval_ms", | 2605 | .procname = "gc_min_interval_ms", |
2621 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, | 2606 | .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, |
2622 | .maxlen = sizeof(int), | 2607 | .maxlen = sizeof(int), |
2623 | .mode = 0644, | 2608 | .mode = 0644, |
2624 | .proc_handler = proc_dointvec_ms_jiffies, | 2609 | .proc_handler = proc_dointvec_ms_jiffies, |
2625 | .strategy = sysctl_ms_jiffies, | ||
2626 | }, | 2610 | }, |
2627 | { .ctl_name = 0 } | 2611 | { } |
2628 | }; | 2612 | }; |
2629 | 2613 | ||
2630 | struct ctl_table *ipv6_route_sysctl_init(struct net *net) | 2614 | struct ctl_table *ipv6_route_sysctl_init(struct net *net) |