Commit 6d9f239a authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

net: '&' redux

I want to compile out proc_* and sysctl_* handlers totally and
stub them to NULL depending on config options, however usage of &
will prevent this, since taking adress of NULL pointer will break
compilation.

So, drop & in front of every ->proc_handler and every ->strategy
handler, it was never needed in fact.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6cf3f41e
...@@ -635,7 +635,7 @@ static struct ctl_table tr_table[] = { ...@@ -635,7 +635,7 @@ static struct ctl_table tr_table[] = {
.data = &sysctl_tr_rif_timeout, .data = &sysctl_tr_rif_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ 0 }, { 0 },
}; };
......
...@@ -17,8 +17,8 @@ static struct ctl_table atalk_table[] = { ...@@ -17,8 +17,8 @@ static struct ctl_table atalk_table[] = {
.data = &sysctl_aarp_expiry_time, .data = &sysctl_aarp_expiry_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_ATALK_AARP_TICK_TIME, .ctl_name = NET_ATALK_AARP_TICK_TIME,
...@@ -26,8 +26,8 @@ static struct ctl_table atalk_table[] = { ...@@ -26,8 +26,8 @@ static struct ctl_table atalk_table[] = {
.data = &sysctl_aarp_tick_time, .data = &sysctl_aarp_tick_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT, .ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT,
...@@ -35,7 +35,7 @@ static struct ctl_table atalk_table[] = { ...@@ -35,7 +35,7 @@ static struct ctl_table atalk_table[] = {
.data = &sysctl_aarp_retransmit_limit, .data = &sysctl_aarp_retransmit_limit,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_ATALK_AARP_RESOLVE_TIME, .ctl_name = NET_ATALK_AARP_RESOLVE_TIME,
...@@ -43,8 +43,8 @@ static struct ctl_table atalk_table[] = { ...@@ -43,8 +43,8 @@ static struct ctl_table atalk_table[] = {
.data = &sysctl_aarp_resolve_time, .data = &sysctl_aarp_resolve_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ 0 }, { 0 },
}; };
......
...@@ -43,8 +43,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -43,8 +43,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "ip_default_mode", .procname = "ip_default_mode",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_ipdefmode, .extra1 = &min_ipdefmode,
.extra2 = &max_ipdefmode .extra2 = &max_ipdefmode
}, },
...@@ -53,8 +53,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -53,8 +53,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "ax25_default_mode", .procname = "ax25_default_mode",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_axdefmode, .extra1 = &min_axdefmode,
.extra2 = &max_axdefmode .extra2 = &max_axdefmode
}, },
...@@ -63,8 +63,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -63,8 +63,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "backoff_type", .procname = "backoff_type",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_backoff, .extra1 = &min_backoff,
.extra2 = &max_backoff .extra2 = &max_backoff
}, },
...@@ -73,8 +73,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -73,8 +73,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "connect_mode", .procname = "connect_mode",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_conmode, .extra1 = &min_conmode,
.extra2 = &max_conmode .extra2 = &max_conmode
}, },
...@@ -83,8 +83,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -83,8 +83,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "standard_window_size", .procname = "standard_window_size",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_window, .extra1 = &min_window,
.extra2 = &max_window .extra2 = &max_window
}, },
...@@ -93,8 +93,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -93,8 +93,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "extended_window_size", .procname = "extended_window_size",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_ewindow, .extra1 = &min_ewindow,
.extra2 = &max_ewindow .extra2 = &max_ewindow
}, },
...@@ -103,8 +103,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -103,8 +103,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "t1_timeout", .procname = "t1_timeout",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t1, .extra1 = &min_t1,
.extra2 = &max_t1 .extra2 = &max_t1
}, },
...@@ -113,8 +113,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -113,8 +113,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "t2_timeout", .procname = "t2_timeout",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t2, .extra1 = &min_t2,
.extra2 = &max_t2 .extra2 = &max_t2
}, },
...@@ -123,8 +123,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -123,8 +123,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "t3_timeout", .procname = "t3_timeout",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t3, .extra1 = &min_t3,
.extra2 = &max_t3 .extra2 = &max_t3
}, },
...@@ -133,8 +133,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -133,8 +133,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "idle_timeout", .procname = "idle_timeout",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_idle, .extra1 = &min_idle,
.extra2 = &max_idle .extra2 = &max_idle
}, },
...@@ -143,8 +143,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -143,8 +143,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "maximum_retry_count", .procname = "maximum_retry_count",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_n2, .extra1 = &min_n2,
.extra2 = &max_n2 .extra2 = &max_n2
}, },
...@@ -153,8 +153,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -153,8 +153,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "maximum_packet_length", .procname = "maximum_packet_length",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_paclen, .extra1 = &min_paclen,
.extra2 = &max_paclen .extra2 = &max_paclen
}, },
...@@ -163,8 +163,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -163,8 +163,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "protocol", .procname = "protocol",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_proto, .extra1 = &min_proto,
.extra2 = &max_proto .extra2 = &max_proto
}, },
...@@ -174,8 +174,8 @@ static const ctl_table ax25_param_table[] = { ...@@ -174,8 +174,8 @@ static const ctl_table ax25_param_table[] = {
.procname = "dama_slave_timeout", .procname = "dama_slave_timeout",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_ds_timeout, .extra1 = &min_ds_timeout,
.extra2 = &max_ds_timeout .extra2 = &max_ds_timeout
}, },
......
...@@ -938,35 +938,35 @@ static ctl_table brnf_table[] = { ...@@ -938,35 +938,35 @@ static ctl_table brnf_table[] = {
.data = &brnf_call_arptables, .data = &brnf_call_arptables,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &brnf_sysctl_call_tables, .proc_handler = brnf_sysctl_call_tables,
}, },
{ {
.procname = "bridge-nf-call-iptables", .procname = "bridge-nf-call-iptables",
.data = &brnf_call_iptables, .data = &brnf_call_iptables,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &brnf_sysctl_call_tables, .proc_handler = brnf_sysctl_call_tables,
}, },
{ {
.procname = "bridge-nf-call-ip6tables", .procname = "bridge-nf-call-ip6tables",
.data = &brnf_call_ip6tables, .data = &brnf_call_ip6tables,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &brnf_sysctl_call_tables, .proc_handler = brnf_sysctl_call_tables,
}, },
{ {
.procname = "bridge-nf-filter-vlan-tagged", .procname = "bridge-nf-filter-vlan-tagged",
.data = &brnf_filter_vlan_tagged, .data = &brnf_filter_vlan_tagged,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &brnf_sysctl_call_tables, .proc_handler = brnf_sysctl_call_tables,
}, },
{ {
.procname = "bridge-nf-filter-pppoe-tagged", .procname = "bridge-nf-filter-pppoe-tagged",
.data = &brnf_filter_pppoe_tagged, .data = &brnf_filter_pppoe_tagged,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &brnf_sysctl_call_tables, .proc_handler = brnf_sysctl_call_tables,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -2566,128 +2566,128 @@ static struct neigh_sysctl_table { ...@@ -2566,128 +2566,128 @@ static struct neigh_sysctl_table {
.procname = "mcast_solicit", .procname = "mcast_solicit",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NEIGH_UCAST_SOLICIT, .ctl_name = NET_NEIGH_UCAST_SOLICIT,
.procname = "ucast_solicit", .procname = "ucast_solicit",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NEIGH_APP_SOLICIT, .ctl_name = NET_NEIGH_APP_SOLICIT,
.procname = "app_solicit", .procname = "app_solicit",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "retrans_time", .procname = "retrans_time",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_userhz_jiffies, .proc_handler = proc_dointvec_userhz_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_REACHABLE_TIME, .ctl_name = NET_NEIGH_REACHABLE_TIME,
.procname = "base_reachable_time", .procname = "base_reachable_time",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_DELAY_PROBE_TIME, .ctl_name = NET_NEIGH_DELAY_PROBE_TIME,
.procname = "delay_first_probe_time", .procname = "delay_first_probe_time",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_GC_STALE_TIME, .ctl_name = NET_NEIGH_GC_STALE_TIME,
.procname = "gc_stale_time", .procname = "gc_stale_time",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_UNRES_QLEN, .ctl_name = NET_NEIGH_UNRES_QLEN,
.procname = "unres_qlen", .procname = "unres_qlen",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NEIGH_PROXY_QLEN, .ctl_name = NET_NEIGH_PROXY_QLEN,
.procname = "proxy_qlen", .procname = "proxy_qlen",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "anycast_delay", .procname = "anycast_delay",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_userhz_jiffies, .proc_handler = proc_dointvec_userhz_jiffies,
}, },
{ {
.procname = "proxy_delay", .procname = "proxy_delay",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_userhz_jiffies, .proc_handler = proc_dointvec_userhz_jiffies,
}, },
{ {
.procname = "locktime", .procname = "locktime",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_userhz_jiffies, .proc_handler = proc_dointvec_userhz_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_RETRANS_TIME_MS, .ctl_name = NET_NEIGH_RETRANS_TIME_MS,
.procname = "retrans_time_ms", .procname = "retrans_time_ms",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_ms_jiffies, .proc_handler = proc_dointvec_ms_jiffies,
.strategy = &sysctl_ms_jiffies, .strategy = sysctl_ms_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_REACHABLE_TIME_MS, .ctl_name = NET_NEIGH_REACHABLE_TIME_MS,
.procname = "base_reachable_time_ms", .procname = "base_reachable_time_ms",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_ms_jiffies, .proc_handler = proc_dointvec_ms_jiffies,
.strategy = &sysctl_ms_jiffies, .strategy = sysctl_ms_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_GC_INTERVAL, .ctl_name = NET_NEIGH_GC_INTERVAL,
.procname = "gc_interval", .procname = "gc_interval",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_GC_THRESH1, .ctl_name = NET_NEIGH_GC_THRESH1,
.procname = "gc_thresh1", .procname = "gc_thresh1",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NEIGH_GC_THRESH2, .ctl_name = NET_NEIGH_GC_THRESH2,
.procname = "gc_thresh2", .procname = "gc_thresh2",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NEIGH_GC_THRESH3, .ctl_name = NET_NEIGH_GC_THRESH3,
.procname = "gc_thresh3", .procname = "gc_thresh3",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{}, {},
}, },
......
...@@ -22,7 +22,7 @@ static struct ctl_table net_core_table[] = { ...@@ -22,7 +22,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_wmem_max, .data = &sysctl_wmem_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_RMEM_MAX, .ctl_name = NET_CORE_RMEM_MAX,
...@@ -30,7 +30,7 @@ static struct ctl_table net_core_table[] = { ...@@ -30,7 +30,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_rmem_max, .data = &sysctl_rmem_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_WMEM_DEFAULT, .ctl_name = NET_CORE_WMEM_DEFAULT,
...@@ -38,7 +38,7 @@ static struct ctl_table net_core_table[] = { ...@@ -38,7 +38,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_wmem_default, .data = &sysctl_wmem_default,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_RMEM_DEFAULT, .ctl_name = NET_CORE_RMEM_DEFAULT,
...@@ -46,7 +46,7 @@ static struct ctl_table net_core_table[] = { ...@@ -46,7 +46,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_rmem_default, .data = &sysctl_rmem_default,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_DEV_WEIGHT, .ctl_name = NET_CORE_DEV_WEIGHT,
...@@ -54,7 +54,7 @@ static struct ctl_table net_core_table[] = { ...@@ -54,7 +54,7 @@ static struct ctl_table net_core_table[] = {
.data = &weight_p, .data = &weight_p,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_MAX_BACKLOG, .ctl_name = NET_CORE_MAX_BACKLOG,
...@@ -62,7 +62,7 @@ static struct ctl_table net_core_table[] = { ...@@ -62,7 +62,7 @@ static struct ctl_table net_core_table[] = {
.data = &netdev_max_backlog, .data = &netdev_max_backlog,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_MSG_COST, .ctl_name = NET_CORE_MSG_COST,
...@@ -70,8 +70,8 @@ static struct ctl_table net_core_table[] = { ...@@ -70,8 +70,8 @@ static struct ctl_table net_core_table[] = {
.data = &net_ratelimit_state.interval, .data = &net_ratelimit_state.interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_CORE_MSG_BURST, .ctl_name = NET_CORE_MSG_BURST,
...@@ -79,7 +79,7 @@ static struct ctl_table net_core_table[] = { ...@@ -79,7 +79,7 @@ static struct ctl_table net_core_table[] = {
.data = &net_ratelimit_state.burst, .data = &net_ratelimit_state.burst,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_CORE_OPTMEM_MAX, .ctl_name = NET_CORE_OPTMEM_MAX,
...@@ -87,7 +87,7 @@ static struct ctl_table net_core_table[] = { ...@@ -87,7 +87,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_optmem_max, .data = &sysctl_optmem_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
#ifdef CONFIG_XFRM #ifdef CONFIG_XFRM
{ {
...@@ -96,7 +96,7 @@ static struct ctl_table net_core_table[] = { ...@@ -96,7 +96,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_xfrm_aevent_etime, .data = &sysctl_xfrm_aevent_etime,
.maxlen = sizeof(u32), .maxlen = sizeof(u32),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_AEVENT_RSEQTH, .ctl_name = NET_CORE_AEVENT_RSEQTH,
...@@ -104,7 +104,7 @@ static struct ctl_table net_core_table[] = { ...@@ -104,7 +104,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_xfrm_aevent_rseqth, .data = &sysctl_xfrm_aevent_rseqth,
.maxlen = sizeof(u32), .maxlen = sizeof(u32),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -112,7 +112,7 @@ static struct ctl_table net_core_table[] = { ...@@ -112,7 +112,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_xfrm_larval_drop, .data = &sysctl_xfrm_larval_drop,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -120,7 +120,7 @@ static struct ctl_table net_core_table[] = { ...@@ -120,7 +120,7 @@ static struct ctl_table net_core_table[] = {
.data = &sysctl_xfrm_acq_expires, .data = &sysctl_xfrm_acq_expires,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
#endif /* CONFIG_XFRM */ #endif /* CONFIG_XFRM */
#endif /* CONFIG_NET */ #endif /* CONFIG_NET */
...@@ -130,7 +130,7 @@ static struct ctl_table net_core_table[] = { ...@@ -130,7 +130,7 @@ static struct ctl_table net_core_table[] = {
.data = &netdev_budget, .data = &netdev_budget,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_CORE_WARNINGS, .ctl_name = NET_CORE_WARNINGS,
...@@ -138,7 +138,7 @@ static struct ctl_table net_core_table[] = { ...@@ -138,7 +138,7 @@ static struct ctl_table net_core_table[] = {
.data = &net_msg_warn, .data = &net_msg_warn,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
...@@ -150,7 +150,7 @@ static struct ctl_table netns_core_table[] = { ...@@ -150,7 +150,7 @@ static struct ctl_table netns_core_table[] = {
.data = &init_net.core.sysctl_somaxconn, .data = &init_net.core.sysctl_somaxconn,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -354,8 +354,8 @@ static ctl_table dn_table[] = { ...@@ -354,8 +354,8 @@ static ctl_table dn_table[] = {
.data = node_name, .data = node_name,
.maxlen = 7, .maxlen = 7,
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dostring, .proc_handler = proc_dostring,
.strategy = &sysctl_string, .strategy = sysctl_string,
}, },
{ {
.ctl_name = NET_DECNET_DEFAULT_DEVICE, .ctl_name = NET_DECNET_DEFAULT_DEVICE,
...@@ -371,8 +371,8 @@ static ctl_table dn_table[] = { ...@@ -371,8 +371,8 @@ static ctl_table dn_table[] = {
.data = &decnet_time_wait, .data = &decnet_time_wait,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_decnet_time_wait, .extra1 = &min_decnet_time_wait,
.extra2 = &max_decnet_time_wait .extra2 = &max_decnet_time_wait
}, },
...@@ -382,8 +382,8 @@ static ctl_table dn_table[] = { ...@@ -382,8 +382,8 @@ static ctl_table dn_table[] = {
.data = &decnet_dn_count, .data = &decnet_dn_count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_state_count, .extra1 = &min_state_count,
.extra2 = &max_state_count .extra2 = &max_state_count
}, },
...@@ -393,8 +393,8 @@ static ctl_table dn_table[] = { ...@@ -393,8 +393,8 @@ static ctl_table dn_table[] = {
.data = &decnet_di_count, .data = &decnet_di_count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_state_count, .extra1 = &min_state_count,
.extra2 = &max_state_count .extra2 = &max_state_count
}, },
...@@ -404,8 +404,8 @@ static ctl_table dn_table[] = { ...@@ -404,8 +404,8 @@ static ctl_table dn_table[] = {
.data = &decnet_dr_count, .data = &decnet_dr_count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_state_count, .extra1 = &min_state_count,
.extra2 = &max_state_count .extra2 = &max_state_count
}, },
...@@ -415,8 +415,8 @@ static ctl_table dn_table[] = { ...@@ -415,8 +415,8 @@ static ctl_table dn_table[] = {
.data = &decnet_dst_gc_interval, .data = &decnet_dst_gc_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_decnet_dst_gc_interval, .extra1 = &min_decnet_dst_gc_interval,
.extra2 = &max_decnet_dst_gc_interval .extra2 = &max_decnet_dst_gc_interval
}, },
...@@ -426,8 +426,8 @@ static ctl_table dn_table[] = { ...@@ -426,8 +426,8 @@ static ctl_table dn_table[] = {
.data = &decnet_no_fc_max_cwnd, .data = &decnet_no_fc_max_cwnd,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_decnet_no_fc_max_cwnd, .extra1 = &min_decnet_no_fc_max_cwnd,
.extra2 = &max_decnet_no_fc_max_cwnd .extra2 = &max_decnet_no_fc_max_cwnd
}, },
...@@ -437,8 +437,8 @@ static ctl_table dn_table[] = { ...@@ -437,8 +437,8 @@ static ctl_table dn_table[] = {
.data = &sysctl_decnet_mem, .data = &sysctl_decnet_mem,
.maxlen = sizeof(sysctl_decnet_mem), .maxlen = sizeof(sysctl_decnet_mem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
}, },
{ {
.ctl_name = NET_DECNET_RMEM, .ctl_name = NET_DECNET_RMEM,
...@@ -446,8 +446,8 @@ static ctl_table dn_table[] = { ...@@ -446,8 +446,8 @@ static ctl_table dn_table[] = {
.data = &sysctl_decnet_rmem, .data = &sysctl_decnet_rmem,
.maxlen = sizeof(sysctl_decnet_rmem), .maxlen = sizeof(sysctl_decnet_rmem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
}, },
{ {
.ctl_name = NET_DECNET_WMEM, .ctl_name = NET_DECNET_WMEM,
...@@ -455,8 +455,8 @@ static ctl_table dn_table[] = { ...@@ -455,8 +455,8 @@ static ctl_table dn_table[] = {
.data = &sysctl_decnet_wmem, .data = &sysctl_decnet_wmem,
.maxlen = sizeof(sysctl_decnet_wmem), .maxlen = sizeof(sysctl_decnet_wmem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
}, },
{ {
.ctl_name = NET_DECNET_DEBUG_LEVEL, .ctl_name = NET_DECNET_DEBUG_LEVEL,
...@@ -464,8 +464,8 @@ static ctl_table dn_table[] = { ...@@ -464,8 +464,8 @@ static ctl_table dn_table[] = {
.data = &decnet_debug_level, .data = &decnet_debug_level,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
}, },
{0} {0}
}; };
......
...@@ -607,7 +607,7 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = { ...@@ -607,7 +607,7 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = {
.data = &init_net.ipv4.frags.high_thresh, .data = &init_net.ipv4.frags.high_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_IPV4_IPFRAG_LOW_THRESH, .ctl_name = NET_IPV4_IPFRAG_LOW_THRESH,
...@@ -615,7 +615,7 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = { ...@@ -615,7 +615,7 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = {
.data = &init_net.ipv4.frags.low_thresh, .data = &init_net.ipv4.frags.low_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_IPV4_IPFRAG_TIME, .ctl_name = NET_IPV4_IPFRAG_TIME,
...@@ -623,8 +623,8 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = { ...@@ -623,8 +623,8 @@ static struct ctl_table ip4_frags_ns_ctl_table[] = {
.data = &init_net.ipv4.frags.timeout, .data = &init_net.ipv4.frags.timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies .strategy = sysctl_jiffies
}, },
{ } { }
}; };
...@@ -636,15 +636,15 @@ static struct ctl_table ip4_frags_ctl_table[] = { ...@@ -636,15 +636,15 @@ static struct ctl_table ip4_frags_ctl_table[] = {
.data = &ip4_frags.secret_interval, .data = &ip4_frags.secret_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies .strategy = sysctl_jiffies
}, },
{ {
.procname = "ipfrag_max_dist", .procname = "ipfrag_max_dist",
.data = &sysctl_ipfrag_max_dist, .data = &sysctl_ipfrag_max_dist,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.extra1 = &zero .extra1 = &zero
}, },
{ } { }
......
...@@ -197,7 +197,7 @@ static ctl_table ip_ct_sysctl_table[] = { ...@@ -197,7 +197,7 @@ static ctl_table ip_ct_sysctl_table[] = {
.data = &nf_conntrack_max, .data = &nf_conntrack_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_COUNT, .ctl_name = NET_IPV4_NF_CONNTRACK_COUNT,
...@@ -205,7 +205,7 @@ static ctl_table ip_ct_sysctl_table[] = { ...@@ -205,7 +205,7 @@ static ctl_table ip_ct_sysctl_table[] = {
.data = &init_net.ct.count, .data = &init_net.ct.count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_BUCKETS, .ctl_name = NET_IPV4_NF_CONNTRACK_BUCKETS,
...@@ -213,7 +213,7 @@ static ctl_table ip_ct_sysctl_table[] = { ...@@ -213,7 +213,7 @@ static ctl_table ip_ct_sysctl_table[] = {
.data = &nf_conntrack_htable_size, .data = &nf_conntrack_htable_size,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_CHECKSUM, .ctl_name = NET_IPV4_NF_CONNTRACK_CHECKSUM,
...@@ -221,7 +221,7 @@ static ctl_table ip_ct_sysctl_table[] = { ...@@ -221,7 +221,7 @@ static ctl_table ip_ct_sysctl_table[] = {
.data = &init_net.ct.sysctl_checksum, .data = &init_net.ct.sysctl_checksum,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_LOG_INVALID, .ctl_name = NET_IPV4_NF_CONNTRACK_LOG_INVALID,
...@@ -229,8 +229,8 @@ static ctl_table ip_ct_sysctl_table[] = { ...@@ -229,8 +229,8 @@ static ctl_table ip_ct_sysctl_table[] = {
.data = &init_net.ct.sysctl_log_invalid, .data = &init_net.ct.sysctl_log_invalid,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &log_invalid_proto_min, .extra1 = &log_invalid_proto_min,
.extra2 = &log_invalid_proto_max, .extra2 = &log_invalid_proto_max,
}, },
......
...@@ -272,7 +272,7 @@ static struct ctl_table icmp_sysctl_table[] = { ...@@ -272,7 +272,7 @@ static struct ctl_table icmp_sysctl_table[] = {
.data = &nf_ct_icmp_timeout, .data = &nf_ct_icmp_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
...@@ -285,7 +285,7 @@ static struct ctl_table icmp_compat_sysctl_table[] = { ...@@ -285,7 +285,7 @@ static struct ctl_table icmp_compat_sysctl_table[] = {
.data = &nf_ct_icmp_timeout, .data = &nf_ct_icmp_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -3118,7 +3118,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3118,7 +3118,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ipv4_dst_ops.gc_thresh, .data = &ipv4_dst_ops.gc_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MAX_SIZE, .ctl_name = NET_IPV4_ROUTE_MAX_SIZE,
...@@ -3126,7 +3126,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3126,7 +3126,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_max_size, .data = &ip_rt_max_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
/* Deprecated. Use gc_min_interval_ms */ /* Deprecated. Use gc_min_interval_ms */
...@@ -3136,8 +3136,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3136,8 +3136,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_min_interval, .data = &ip_rt_gc_min_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS, .ctl_name = NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS,
...@@ -3145,8 +3145,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3145,8 +3145,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_min_interval, .data = &ip_rt_gc_min_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_ms_jiffies, .proc_handler = proc_dointvec_ms_jiffies,
.strategy = &sysctl_ms_jiffies, .strategy = sysctl_ms_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_TIMEOUT, .ctl_name = NET_IPV4_ROUTE_GC_TIMEOUT,
...@@ -3154,8 +3154,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3154,8 +3154,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_timeout, .data = &ip_rt_gc_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_INTERVAL, .ctl_name = NET_IPV4_ROUTE_GC_INTERVAL,
...@@ -3163,8 +3163,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3163,8 +3163,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_interval, .data = &ip_rt_gc_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_REDIRECT_LOAD, .ctl_name = NET_IPV4_ROUTE_REDIRECT_LOAD,
...@@ -3172,7 +3172,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3172,7 +3172,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_load, .data = &ip_rt_redirect_load,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_REDIRECT_NUMBER, .ctl_name = NET_IPV4_ROUTE_REDIRECT_NUMBER,
...@@ -3180,7 +3180,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3180,7 +3180,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_number, .data = &ip_rt_redirect_number,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_REDIRECT_SILENCE, .ctl_name = NET_IPV4_ROUTE_REDIRECT_SILENCE,
...@@ -3188,7 +3188,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3188,7 +3188,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_redirect_silence, .data = &ip_rt_redirect_silence,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_ERROR_COST, .ctl_name = NET_IPV4_ROUTE_ERROR_COST,
...@@ -3196,7 +3196,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3196,7 +3196,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_error_cost, .data = &ip_rt_error_cost,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_ERROR_BURST, .ctl_name = NET_IPV4_ROUTE_ERROR_BURST,
...@@ -3204,7 +3204,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3204,7 +3204,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_error_burst, .data = &ip_rt_error_burst,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_GC_ELASTICITY, .ctl_name = NET_IPV4_ROUTE_GC_ELASTICITY,
...@@ -3212,7 +3212,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3212,7 +3212,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_gc_elasticity, .data = &ip_rt_gc_elasticity,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MTU_EXPIRES, .ctl_name = NET_IPV4_ROUTE_MTU_EXPIRES,
...@@ -3220,8 +3220,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3220,8 +3220,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_mtu_expires, .data = &ip_rt_mtu_expires,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MIN_PMTU, .ctl_name = NET_IPV4_ROUTE_MIN_PMTU,
...@@ -3229,7 +3229,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3229,7 +3229,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_min_pmtu, .data = &ip_rt_min_pmtu,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_MIN_ADVMSS, .ctl_name = NET_IPV4_ROUTE_MIN_ADVMSS,
...@@ -3237,7 +3237,7 @@ static ctl_table ipv4_route_table[] = { ...@@ -3237,7 +3237,7 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_min_advmss, .data = &ip_rt_min_advmss,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_ROUTE_SECRET_INTERVAL, .ctl_name = NET_IPV4_ROUTE_SECRET_INTERVAL,
...@@ -3245,8 +3245,8 @@ static ctl_table ipv4_route_table[] = { ...@@ -3245,8 +3245,8 @@ static ctl_table ipv4_route_table[] = {
.data = &ip_rt_secret_interval, .data = &ip_rt_secret_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &ipv4_sysctl_rt_secret_interval, .proc_handler = ipv4_sysctl_rt_secret_interval,
.strategy = &ipv4_sysctl_rt_secret_interval_strategy, .strategy = ipv4_sysctl_rt_secret_interval_strategy,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
...@@ -3274,8 +3274,8 @@ static struct ctl_table ipv4_route_flush_table[] = { ...@@ -3274,8 +3274,8 @@ static struct ctl_table ipv4_route_flush_table[] = {
.procname = "flush", .procname = "flush",
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0200, .mode = 0200,
.proc_handler = &ipv4_sysctl_rtcache_flush, .proc_handler = ipv4_sysctl_rtcache_flush,
.strategy = &ipv4_sysctl_rtcache_flush_strategy, .strategy = ipv4_sysctl_rtcache_flush_strategy,
}, },
{ .ctl_name = 0 }, { .ctl_name = 0 },
}; };
......
This diff is collapsed.
...@@ -4030,8 +4030,8 @@ static struct addrconf_sysctl_table ...@@ -4030,8 +4030,8 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.forwarding, .data = &ipv6_devconf.forwarding,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &addrconf_sysctl_forward, .proc_handler = addrconf_sysctl_forward,
.strategy = &addrconf_sysctl_forward_strategy, .strategy = addrconf_sysctl_forward_strategy,
}, },
{ {
.ctl_name = NET_IPV6_HOP_LIMIT, .ctl_name = NET_IPV6_HOP_LIMIT,
...@@ -4047,7 +4047,7 @@ static struct addrconf_sysctl_table ...@@ -4047,7 +4047,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.mtu6, .data = &ipv6_devconf.mtu6,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ACCEPT_RA, .ctl_name = NET_IPV6_ACCEPT_RA,
...@@ -4055,7 +4055,7 @@ static struct addrconf_sysctl_table ...@@ -4055,7 +4055,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_ra, .data = &ipv6_devconf.accept_ra,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ACCEPT_REDIRECTS, .ctl_name = NET_IPV6_ACCEPT_REDIRECTS,
...@@ -4063,7 +4063,7 @@ static struct addrconf_sysctl_table ...@@ -4063,7 +4063,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_redirects, .data = &ipv6_devconf.accept_redirects,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_AUTOCONF, .ctl_name = NET_IPV6_AUTOCONF,
...@@ -4071,7 +4071,7 @@ static struct addrconf_sysctl_table ...@@ -4071,7 +4071,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.autoconf, .data = &ipv6_devconf.autoconf,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_DAD_TRANSMITS, .ctl_name = NET_IPV6_DAD_TRANSMITS,
...@@ -4079,7 +4079,7 @@ static struct addrconf_sysctl_table ...@@ -4079,7 +4079,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.dad_transmits, .data = &ipv6_devconf.dad_transmits,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_RTR_SOLICITS, .ctl_name = NET_IPV6_RTR_SOLICITS,
...@@ -4087,7 +4087,7 @@ static struct addrconf_sysctl_table ...@@ -4087,7 +4087,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.rtr_solicits, .data = &ipv6_devconf.rtr_solicits,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_RTR_SOLICIT_INTERVAL, .ctl_name = NET_IPV6_RTR_SOLICIT_INTERVAL,
...@@ -4095,8 +4095,8 @@ static struct addrconf_sysctl_table ...@@ -4095,8 +4095,8 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.rtr_solicit_interval, .data = &ipv6_devconf.rtr_solicit_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_RTR_SOLICIT_DELAY, .ctl_name = NET_IPV6_RTR_SOLICIT_DELAY,
...@@ -4104,8 +4104,8 @@ static struct addrconf_sysctl_table ...@@ -4104,8 +4104,8 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.rtr_solicit_delay, .data = &ipv6_devconf.rtr_solicit_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_FORCE_MLD_VERSION, .ctl_name = NET_IPV6_FORCE_MLD_VERSION,
...@@ -4113,7 +4113,7 @@ static struct addrconf_sysctl_table ...@@ -4113,7 +4113,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.force_mld_version, .data = &ipv6_devconf.force_mld_version,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#ifdef CONFIG_IPV6_PRIVACY #ifdef CONFIG_IPV6_PRIVACY
{ {
...@@ -4122,7 +4122,7 @@ static struct addrconf_sysctl_table ...@@ -4122,7 +4122,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.use_tempaddr, .data = &ipv6_devconf.use_tempaddr,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_TEMP_VALID_LFT, .ctl_name = NET_IPV6_TEMP_VALID_LFT,
...@@ -4130,7 +4130,7 @@ static struct addrconf_sysctl_table ...@@ -4130,7 +4130,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.temp_valid_lft, .data = &ipv6_devconf.temp_valid_lft,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_TEMP_PREFERED_LFT, .ctl_name = NET_IPV6_TEMP_PREFERED_LFT,
...@@ -4138,7 +4138,7 @@ static struct addrconf_sysctl_table ...@@ -4138,7 +4138,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.temp_prefered_lft, .data = &ipv6_devconf.temp_prefered_lft,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_REGEN_MAX_RETRY, .ctl_name = NET_IPV6_REGEN_MAX_RETRY,
...@@ -4146,7 +4146,7 @@ static struct addrconf_sysctl_table ...@@ -4146,7 +4146,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.regen_max_retry, .data = &ipv6_devconf.regen_max_retry,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_MAX_DESYNC_FACTOR, .ctl_name = NET_IPV6_MAX_DESYNC_FACTOR,
...@@ -4154,7 +4154,7 @@ static struct addrconf_sysctl_table ...@@ -4154,7 +4154,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.max_desync_factor, .data = &ipv6_devconf.max_desync_factor,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#endif #endif
{ {
...@@ -4163,7 +4163,7 @@ static struct addrconf_sysctl_table ...@@ -4163,7 +4163,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.max_addresses, .data = &ipv6_devconf.max_addresses,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ACCEPT_RA_DEFRTR, .ctl_name = NET_IPV6_ACCEPT_RA_DEFRTR,
...@@ -4171,7 +4171,7 @@ static struct addrconf_sysctl_table ...@@ -4171,7 +4171,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_ra_defrtr, .data = &ipv6_devconf.accept_ra_defrtr,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ACCEPT_RA_PINFO, .ctl_name = NET_IPV6_ACCEPT_RA_PINFO,
...@@ -4179,7 +4179,7 @@ static struct addrconf_sysctl_table ...@@ -4179,7 +4179,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_ra_pinfo, .data = &ipv6_devconf.accept_ra_pinfo,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#ifdef CONFIG_IPV6_ROUTER_PREF #ifdef CONFIG_IPV6_ROUTER_PREF
{ {
...@@ -4188,7 +4188,7 @@ static struct addrconf_sysctl_table ...@@ -4188,7 +4188,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_ra_rtr_pref, .data = &ipv6_devconf.accept_ra_rtr_pref,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_RTR_PROBE_INTERVAL, .ctl_name = NET_IPV6_RTR_PROBE_INTERVAL,
...@@ -4196,8 +4196,8 @@ static struct addrconf_sysctl_table ...@@ -4196,8 +4196,8 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.rtr_probe_interval, .data = &ipv6_devconf.rtr_probe_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
#ifdef CONFIG_IPV6_ROUTE_INFO #ifdef CONFIG_IPV6_ROUTE_INFO
{ {
...@@ -4206,7 +4206,7 @@ static struct addrconf_sysctl_table ...@@ -4206,7 +4206,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_ra_rt_info_max_plen, .data = &ipv6_devconf.accept_ra_rt_info_max_plen,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#endif #endif
#endif #endif
...@@ -4216,7 +4216,7 @@ static struct addrconf_sysctl_table ...@@ -4216,7 +4216,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.proxy_ndp, .data = &ipv6_devconf.proxy_ndp,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ACCEPT_SOURCE_ROUTE, .ctl_name = NET_IPV6_ACCEPT_SOURCE_ROUTE,
...@@ -4224,7 +4224,7 @@ static struct addrconf_sysctl_table ...@@ -4224,7 +4224,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_source_route, .data = &ipv6_devconf.accept_source_route,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#ifdef CONFIG_IPV6_OPTIMISTIC_DAD #ifdef CONFIG_IPV6_OPTIMISTIC_DAD
{ {
...@@ -4233,7 +4233,7 @@ static struct addrconf_sysctl_table ...@@ -4233,7 +4233,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.optimistic_dad, .data = &ipv6_devconf.optimistic_dad,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#endif #endif
...@@ -4244,7 +4244,7 @@ static struct addrconf_sysctl_table ...@@ -4244,7 +4244,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.mc_forwarding, .data = &ipv6_devconf.mc_forwarding,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#endif #endif
{ {
...@@ -4253,7 +4253,7 @@ static struct addrconf_sysctl_table ...@@ -4253,7 +4253,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.disable_ipv6, .data = &ipv6_devconf.disable_ipv6,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -4261,7 +4261,7 @@ static struct addrconf_sysctl_table ...@@ -4261,7 +4261,7 @@ static struct addrconf_sysctl_table
.data = &ipv6_devconf.accept_dad, .data = &ipv6_devconf.accept_dad,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = 0, /* sentinel */ .ctl_name = 0, /* sentinel */
......
...@@ -956,8 +956,8 @@ ctl_table ipv6_icmp_table_template[] = { ...@@ -956,8 +956,8 @@ ctl_table ipv6_icmp_table_template[] = {
.data = &init_net.ipv6.sysctl.icmpv6_time, .data = &init_net.ipv6.sysctl.icmpv6_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_ms_jiffies, .proc_handler = proc_dointvec_ms_jiffies,
.strategy = &sysctl_ms_jiffies .strategy = sysctl_ms_jiffies
}, },
{ .ctl_name = 0 }, { .ctl_name = 0 },
}; };
......
...@@ -253,7 +253,7 @@ static struct ctl_table icmpv6_sysctl_table[] = { ...@@ -253,7 +253,7 @@ static struct ctl_table icmpv6_sysctl_table[] = {
.data = &nf_ct_icmpv6_timeout, .data = &nf_ct_icmpv6_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -80,7 +80,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = { ...@@ -80,7 +80,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = {
.data = &nf_init_frags.timeout, .data = &nf_init_frags.timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_FRAG6_LOW_THRESH, .ctl_name = NET_NF_CONNTRACK_FRAG6_LOW_THRESH,
...@@ -88,7 +88,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = { ...@@ -88,7 +88,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = {
.data = &nf_init_frags.low_thresh, .data = &nf_init_frags.low_thresh,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_FRAG6_HIGH_THRESH, .ctl_name = NET_NF_CONNTRACK_FRAG6_HIGH_THRESH,
...@@ -96,7 +96,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = { ...@@ -96,7 +96,7 @@ struct ctl_table nf_ct_ipv6_sysctl_table[] = {
.data = &nf_init_frags.high_thresh, .data = &nf_init_frags.high_thresh,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -642,7 +642,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = { ...@@ -642,7 +642,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = {
.data = &init_net.ipv6.frags.high_thresh, .data = &init_net.ipv6.frags.high_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_IPV6_IP6FRAG_LOW_THRESH, .ctl_name = NET_IPV6_IP6FRAG_LOW_THRESH,
...@@ -650,7 +650,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = { ...@@ -650,7 +650,7 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = {
.data = &init_net.ipv6.frags.low_thresh, .data = &init_net.ipv6.frags.low_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_IPV6_IP6FRAG_TIME, .ctl_name = NET_IPV6_IP6FRAG_TIME,
...@@ -658,8 +658,8 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = { ...@@ -658,8 +658,8 @@ static struct ctl_table ip6_frags_ns_ctl_table[] = {
.data = &init_net.ipv6.frags.timeout, .data = &init_net.ipv6.frags.timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ } { }
}; };
...@@ -671,8 +671,8 @@ static struct ctl_table ip6_frags_ctl_table[] = { ...@@ -671,8 +671,8 @@ static struct ctl_table ip6_frags_ctl_table[] = {
.data = &ip6_frags.secret_interval, .data = &ip6_frags.secret_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies .strategy = sysctl_jiffies
}, },
{ } { }
}; };
......
...@@ -2499,7 +2499,7 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2499,7 +2499,7 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.flush_delay, .data = &init_net.ipv6.sysctl.flush_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0200, .mode = 0200,
.proc_handler = &ipv6_sysctl_rtcache_flush .proc_handler = ipv6_sysctl_rtcache_flush
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_THRESH, .ctl_name = NET_IPV6_ROUTE_GC_THRESH,
...@@ -2507,7 +2507,7 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2507,7 +2507,7 @@ ctl_table ipv6_route_table_template[] = {
.data = &ip6_dst_ops_template.gc_thresh, .data = &ip6_dst_ops_template.gc_thresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_MAX_SIZE, .ctl_name = NET_IPV6_ROUTE_MAX_SIZE,
...@@ -2515,7 +2515,7 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2515,7 +2515,7 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_max_size, .data = &init_net.ipv6.sysctl.ip6_rt_max_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL, .ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL,
...@@ -2523,8 +2523,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2523,8 +2523,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_TIMEOUT, .ctl_name = NET_IPV6_ROUTE_GC_TIMEOUT,
...@@ -2532,8 +2532,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2532,8 +2532,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_gc_timeout, .data = &init_net.ipv6.sysctl.ip6_rt_gc_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_INTERVAL, .ctl_name = NET_IPV6_ROUTE_GC_INTERVAL,
...@@ -2541,8 +2541,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2541,8 +2541,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_gc_interval, .data = &init_net.ipv6.sysctl.ip6_rt_gc_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_ELASTICITY, .ctl_name = NET_IPV6_ROUTE_GC_ELASTICITY,
...@@ -2550,8 +2550,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2550,8 +2550,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_gc_elasticity, .data = &init_net.ipv6.sysctl.ip6_rt_gc_elasticity,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_MTU_EXPIRES, .ctl_name = NET_IPV6_ROUTE_MTU_EXPIRES,
...@@ -2559,8 +2559,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2559,8 +2559,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_mtu_expires, .data = &init_net.ipv6.sysctl.ip6_rt_mtu_expires,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_MIN_ADVMSS, .ctl_name = NET_IPV6_ROUTE_MIN_ADVMSS,
...@@ -2568,8 +2568,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2568,8 +2568,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_min_advmss, .data = &init_net.ipv6.sysctl.ip6_rt_min_advmss,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS, .ctl_name = NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS,
...@@ -2577,8 +2577,8 @@ ctl_table ipv6_route_table_template[] = { ...@@ -2577,8 +2577,8 @@ ctl_table ipv6_route_table_template[] = {
.data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval, .data = &init_net.ipv6.sysctl.ip6_rt_gc_min_interval,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_ms_jiffies, .proc_handler = proc_dointvec_ms_jiffies,
.strategy = &sysctl_ms_jiffies, .strategy = sysctl_ms_jiffies,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -35,7 +35,7 @@ static ctl_table ipv6_table_template[] = { ...@@ -35,7 +35,7 @@ static ctl_table ipv6_table_template[] = {
.data = &init_net.ipv6.sysctl.bindv6only, .data = &init_net.ipv6.sysctl.bindv6only,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
...@@ -47,7 +47,7 @@ static ctl_table ipv6_table[] = { ...@@ -47,7 +47,7 @@ static ctl_table ipv6_table[] = {
.data = &sysctl_mld_max_msf, .data = &sysctl_mld_max_msf,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -23,7 +23,7 @@ static struct ctl_table ipx_table[] = { ...@@ -23,7 +23,7 @@ static struct ctl_table ipx_table[] = {
.data = &sysctl_ipx_pprop_broadcasting, .data = &sysctl_ipx_pprop_broadcasting,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ 0 }, { 0 },
}; };
......
...@@ -118,8 +118,8 @@ static ctl_table irda_table[] = { ...@@ -118,8 +118,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_discovery, .data = &sysctl_discovery,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &do_discovery, .proc_handler = do_discovery,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_IRDA_DEVNAME, .ctl_name = NET_IRDA_DEVNAME,
...@@ -127,8 +127,8 @@ static ctl_table irda_table[] = { ...@@ -127,8 +127,8 @@ static ctl_table irda_table[] = {
.data = sysctl_devname, .data = sysctl_devname,
.maxlen = 65, .maxlen = 65,
.mode = 0644, .mode = 0644,
.proc_handler = &do_devname, .proc_handler = do_devname,
.strategy = &sysctl_string .strategy = sysctl_string
}, },
#ifdef CONFIG_IRDA_DEBUG #ifdef CONFIG_IRDA_DEBUG
{ {
...@@ -137,7 +137,7 @@ static ctl_table irda_table[] = { ...@@ -137,7 +137,7 @@ static ctl_table irda_table[] = {
.data = &irda_debug, .data = &irda_debug,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
#endif #endif
#ifdef CONFIG_IRDA_FAST_RR #ifdef CONFIG_IRDA_FAST_RR
...@@ -147,7 +147,7 @@ static ctl_table irda_table[] = { ...@@ -147,7 +147,7 @@ static ctl_table irda_table[] = {
.data = &sysctl_fast_poll_increase, .data = &sysctl_fast_poll_increase,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
#endif #endif
{ {
...@@ -156,8 +156,8 @@ static ctl_table irda_table[] = { ...@@ -156,8 +156,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_discovery_slots, .data = &sysctl_discovery_slots,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_discovery_slots, .extra1 = &min_discovery_slots,
.extra2 = &max_discovery_slots .extra2 = &max_discovery_slots
}, },
...@@ -167,7 +167,7 @@ static ctl_table irda_table[] = { ...@@ -167,7 +167,7 @@ static ctl_table irda_table[] = {
.data = &sysctl_discovery_timeout, .data = &sysctl_discovery_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ {
.ctl_name = NET_IRDA_SLOT_TIMEOUT, .ctl_name = NET_IRDA_SLOT_TIMEOUT,
...@@ -175,8 +175,8 @@ static ctl_table irda_table[] = { ...@@ -175,8 +175,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_slot_timeout, .data = &sysctl_slot_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_slot_timeout, .extra1 = &min_slot_timeout,
.extra2 = &max_slot_timeout .extra2 = &max_slot_timeout
}, },
...@@ -186,8 +186,8 @@ static ctl_table irda_table[] = { ...@@ -186,8 +186,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_max_baud_rate, .data = &sysctl_max_baud_rate,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_max_baud_rate, .extra1 = &min_max_baud_rate,
.extra2 = &max_max_baud_rate .extra2 = &max_max_baud_rate
}, },
...@@ -197,8 +197,8 @@ static ctl_table irda_table[] = { ...@@ -197,8 +197,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_min_tx_turn_time, .data = &sysctl_min_tx_turn_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_min_tx_turn_time, .extra1 = &min_min_tx_turn_time,
.extra2 = &max_min_tx_turn_time .extra2 = &max_min_tx_turn_time
}, },
...@@ -208,8 +208,8 @@ static ctl_table irda_table[] = { ...@@ -208,8 +208,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_max_tx_data_size, .data = &sysctl_max_tx_data_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_max_tx_data_size, .extra1 = &min_max_tx_data_size,
.extra2 = &max_max_tx_data_size .extra2 = &max_max_tx_data_size
}, },
...@@ -219,8 +219,8 @@ static ctl_table irda_table[] = { ...@@ -219,8 +219,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_max_tx_window, .data = &sysctl_max_tx_window,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_max_tx_window, .extra1 = &min_max_tx_window,
.extra2 = &max_max_tx_window .extra2 = &max_max_tx_window
}, },
...@@ -230,8 +230,8 @@ static ctl_table irda_table[] = { ...@@ -230,8 +230,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_max_noreply_time, .data = &sysctl_max_noreply_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_max_noreply_time, .extra1 = &min_max_noreply_time,
.extra2 = &max_max_noreply_time .extra2 = &max_max_noreply_time
}, },
...@@ -241,8 +241,8 @@ static ctl_table irda_table[] = { ...@@ -241,8 +241,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_warn_noreply_time, .data = &sysctl_warn_noreply_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_warn_noreply_time, .extra1 = &min_warn_noreply_time,
.extra2 = &max_warn_noreply_time .extra2 = &max_warn_noreply_time
}, },
...@@ -252,8 +252,8 @@ static ctl_table irda_table[] = { ...@@ -252,8 +252,8 @@ static ctl_table irda_table[] = {
.data = &sysctl_lap_keepalive_time, .data = &sysctl_lap_keepalive_time,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_lap_keepalive_time, .extra1 = &min_lap_keepalive_time,
.extra2 = &max_lap_keepalive_time .extra2 = &max_lap_keepalive_time
}, },
......
...@@ -20,8 +20,8 @@ static struct ctl_table llc2_timeout_table[] = { ...@@ -20,8 +20,8 @@ static struct ctl_table llc2_timeout_table[] = {
.data = &sysctl_llc2_ack_timeout, .data = &sysctl_llc2_ack_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_LLC2_BUSY_TIMEOUT, .ctl_name = NET_LLC2_BUSY_TIMEOUT,
...@@ -29,8 +29,8 @@ static struct ctl_table llc2_timeout_table[] = { ...@@ -29,8 +29,8 @@ static struct ctl_table llc2_timeout_table[] = {
.data = &sysctl_llc2_busy_timeout, .data = &sysctl_llc2_busy_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_LLC2_P_TIMEOUT, .ctl_name = NET_LLC2_P_TIMEOUT,
...@@ -38,8 +38,8 @@ static struct ctl_table llc2_timeout_table[] = { ...@@ -38,8 +38,8 @@ static struct ctl_table llc2_timeout_table[] = {
.data = &sysctl_llc2_p_timeout, .data = &sysctl_llc2_p_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ {
.ctl_name = NET_LLC2_REJ_TIMEOUT, .ctl_name = NET_LLC2_REJ_TIMEOUT,
...@@ -47,8 +47,8 @@ static struct ctl_table llc2_timeout_table[] = { ...@@ -47,8 +47,8 @@ static struct ctl_table llc2_timeout_table[] = {
.data = &sysctl_llc2_rej_timeout, .data = &sysctl_llc2_rej_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ 0 }, { 0 },
}; };
...@@ -60,8 +60,8 @@ static struct ctl_table llc_station_table[] = { ...@@ -60,8 +60,8 @@ static struct ctl_table llc_station_table[] = {
.data = &sysctl_llc_station_ack_timeout, .data = &sysctl_llc_station_ack_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
.strategy = &sysctl_jiffies, .strategy = sysctl_jiffies,
}, },
{ 0 }, { 0 },
}; };
......
...@@ -1545,7 +1545,7 @@ static struct ctl_table vs_vars[] = { ...@@ -1545,7 +1545,7 @@ static struct ctl_table vs_vars[] = {
.data = &sysctl_ip_vs_amemthresh, .data = &sysctl_ip_vs_amemthresh,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#ifdef CONFIG_IP_VS_DEBUG #ifdef CONFIG_IP_VS_DEBUG
{ {
...@@ -1553,7 +1553,7 @@ static struct ctl_table vs_vars[] = { ...@@ -1553,7 +1553,7 @@ static struct ctl_table vs_vars[] = {
.data = &sysctl_ip_vs_debug_level, .data = &sysctl_ip_vs_debug_level,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
#endif #endif
{ {
...@@ -1561,28 +1561,28 @@ static struct ctl_table vs_vars[] = { ...@@ -1561,28 +1561,28 @@ static struct ctl_table vs_vars[] = {
.data = &sysctl_ip_vs_am_droprate, .data = &sysctl_ip_vs_am_droprate,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "drop_entry", .procname = "drop_entry",
.data = &sysctl_ip_vs_drop_entry, .data = &sysctl_ip_vs_drop_entry,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_do_defense_mode, .proc_handler = proc_do_defense_mode,
}, },
{ {
.procname = "drop_packet", .procname = "drop_packet",
.data = &sysctl_ip_vs_drop_packet, .data = &sysctl_ip_vs_drop_packet,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_do_defense_mode, .proc_handler = proc_do_defense_mode,
}, },
{ {
.procname = "secure_tcp", .procname = "secure_tcp",
.data = &sysctl_ip_vs_secure_tcp, .data = &sysctl_ip_vs_secure_tcp,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_do_defense_mode, .proc_handler = proc_do_defense_mode,
}, },
#if 0 #if 0
{ {
...@@ -1590,84 +1590,84 @@ static struct ctl_table vs_vars[] = { ...@@ -1590,84 +1590,84 @@ static struct ctl_table vs_vars[] = {
.data = &vs_timeout_table_dos.timeout[IP_VS_S_ESTABLISHED], .data = &vs_timeout_table_dos.timeout[IP_VS_S_ESTABLISHED],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_synsent", .procname = "timeout_synsent",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_SENT], .data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_SENT],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_synrecv", .procname = "timeout_synrecv",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_RECV], .data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_RECV],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_finwait", .procname = "timeout_finwait",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_FIN_WAIT], .data = &vs_timeout_table_dos.timeout[IP_VS_S_FIN_WAIT],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_timewait", .procname = "timeout_timewait",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_TIME_WAIT], .data = &vs_timeout_table_dos.timeout[IP_VS_S_TIME_WAIT],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_close", .procname = "timeout_close",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE], .data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_closewait", .procname = "timeout_closewait",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE_WAIT], .data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE_WAIT],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_lastack", .procname = "timeout_lastack",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_LAST_ACK], .data = &vs_timeout_table_dos.timeout[IP_VS_S_LAST_ACK],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_listen", .procname = "timeout_listen",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_LISTEN], .data = &vs_timeout_table_dos.timeout[IP_VS_S_LISTEN],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_synack", .procname = "timeout_synack",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYNACK], .data = &vs_timeout_table_dos.timeout[IP_VS_S_SYNACK],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_udp", .procname = "timeout_udp",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_UDP], .data = &vs_timeout_table_dos.timeout[IP_VS_S_UDP],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "timeout_icmp", .procname = "timeout_icmp",
.data = &vs_timeout_table_dos.timeout[IP_VS_S_ICMP], .data = &vs_timeout_table_dos.timeout[IP_VS_S_ICMP],
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
#endif #endif
{ {
...@@ -1675,35 +1675,35 @@ static struct ctl_table vs_vars[] = { ...@@ -1675,35 +1675,35 @@ static struct ctl_table vs_vars[] = {
.data = &sysctl_ip_vs_cache_bypass, .data = &sysctl_ip_vs_cache_bypass,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "expire_nodest_conn", .procname = "expire_nodest_conn",
.data = &sysctl_ip_vs_expire_nodest_conn, .data = &sysctl_ip_vs_expire_nodest_conn,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "expire_quiescent_template", .procname = "expire_quiescent_template",
.data = &sysctl_ip_vs_expire_quiescent_template, .data = &sysctl_ip_vs_expire_quiescent_template,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.procname = "sync_threshold", .procname = "sync_threshold",
.data = &sysctl_ip_vs_sync_threshold, .data = &sysctl_ip_vs_sync_threshold,
.maxlen = sizeof(sysctl_ip_vs_sync_threshold), .maxlen = sizeof(sysctl_ip_vs_sync_threshold),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_do_sync_threshold, .proc_handler = proc_do_sync_threshold,
}, },
{ {
.procname = "nat_icmp_send", .procname = "nat_icmp_send",
.data = &sysctl_ip_vs_nat_icmp_send, .data = &sysctl_ip_vs_nat_icmp_send,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -116,7 +116,7 @@ static ctl_table vs_vars_table[] = { ...@@ -116,7 +116,7 @@ static ctl_table vs_vars_table[] = {
.data = &sysctl_ip_vs_lblc_expiration, .data = &sysctl_ip_vs_lblc_expiration,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -295,7 +295,7 @@ static ctl_table vs_vars_table[] = { ...@@ -295,7 +295,7 @@ static ctl_table vs_vars_table[] = {
.data = &sysctl_ip_vs_lblcr_expiration, .data = &sysctl_ip_vs_lblcr_expiration,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -35,7 +35,7 @@ static struct ctl_table acct_sysctl_table[] = { ...@@ -35,7 +35,7 @@ static struct ctl_table acct_sysctl_table[] = {
.data = &init_net.ct.sysctl_acct, .data = &init_net.ct.sysctl_acct,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{} {}
}; };
......
...@@ -67,7 +67,7 @@ static struct ctl_table generic_sysctl_table[] = { ...@@ -67,7 +67,7 @@ static struct ctl_table generic_sysctl_table[] = {
.data = &nf_ct_generic_timeout, .data = &nf_ct_generic_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
...@@ -80,7 +80,7 @@ static struct ctl_table generic_compat_sysctl_table[] = { ...@@ -80,7 +80,7 @@ static struct ctl_table generic_compat_sysctl_table[] = {
.data = &nf_ct_generic_timeout, .data = &nf_ct_generic_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -548,49 +548,49 @@ static struct ctl_table sctp_sysctl_table[] = { ...@@ -548,49 +548,49 @@ static struct ctl_table sctp_sysctl_table[] = {
.data = &sctp_timeouts[SCTP_CONNTRACK_CLOSED], .data = &sctp_timeouts[SCTP_CONNTRACK_CLOSED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_cookie_wait", .procname = "nf_conntrack_sctp_timeout_cookie_wait",
.data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_WAIT], .data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_cookie_echoed", .procname = "nf_conntrack_sctp_timeout_cookie_echoed",
.data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_ECHOED], .data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_ECHOED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_established", .procname = "nf_conntrack_sctp_timeout_established",
.data = &sctp_timeouts[SCTP_CONNTRACK_ESTABLISHED], .data = &sctp_timeouts[SCTP_CONNTRACK_ESTABLISHED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_shutdown_sent", .procname = "nf_conntrack_sctp_timeout_shutdown_sent",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_shutdown_recd", .procname = "nf_conntrack_sctp_timeout_shutdown_recd",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_sctp_timeout_shutdown_ack_sent", .procname = "nf_conntrack_sctp_timeout_shutdown_ack_sent",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
...@@ -604,49 +604,49 @@ static struct ctl_table sctp_compat_sysctl_table[] = { ...@@ -604,49 +604,49 @@ static struct ctl_table sctp_compat_sysctl_table[] = {
.data = &sctp_timeouts[SCTP_CONNTRACK_CLOSED], .data = &sctp_timeouts[SCTP_CONNTRACK_CLOSED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_cookie_wait", .procname = "ip_conntrack_sctp_timeout_cookie_wait",
.data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_WAIT], .data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_cookie_echoed", .procname = "ip_conntrack_sctp_timeout_cookie_echoed",
.data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_ECHOED], .data = &sctp_timeouts[SCTP_CONNTRACK_COOKIE_ECHOED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_established", .procname = "ip_conntrack_sctp_timeout_established",
.data = &sctp_timeouts[SCTP_CONNTRACK_ESTABLISHED], .data = &sctp_timeouts[SCTP_CONNTRACK_ESTABLISHED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_shutdown_sent", .procname = "ip_conntrack_sctp_timeout_shutdown_sent",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_shutdown_recd", .procname = "ip_conntrack_sctp_timeout_shutdown_recd",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_sctp_timeout_shutdown_ack_sent", .procname = "ip_conntrack_sctp_timeout_shutdown_ack_sent",
.data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT], .data = &sctp_timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -1192,70 +1192,70 @@ static struct ctl_table tcp_sysctl_table[] = { ...@@ -1192,70 +1192,70 @@ static struct ctl_table tcp_sysctl_table[] = {
.data = &tcp_timeouts[TCP_CONNTRACK_SYN_SENT], .data = &tcp_timeouts[TCP_CONNTRACK_SYN_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_syn_recv", .procname = "nf_conntrack_tcp_timeout_syn_recv",
.data = &tcp_timeouts[TCP_CONNTRACK_SYN_RECV], .data = &tcp_timeouts[TCP_CONNTRACK_SYN_RECV],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_established", .procname = "nf_conntrack_tcp_timeout_established",
.data = &tcp_timeouts[TCP_CONNTRACK_ESTABLISHED], .data = &tcp_timeouts[TCP_CONNTRACK_ESTABLISHED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_fin_wait", .procname = "nf_conntrack_tcp_timeout_fin_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_FIN_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_FIN_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_close_wait", .procname = "nf_conntrack_tcp_timeout_close_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_CLOSE_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_CLOSE_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_last_ack", .procname = "nf_conntrack_tcp_timeout_last_ack",
.data = &tcp_timeouts[TCP_CONNTRACK_LAST_ACK], .data = &tcp_timeouts[TCP_CONNTRACK_LAST_ACK],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_time_wait", .procname = "nf_conntrack_tcp_timeout_time_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_TIME_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_TIME_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_close", .procname = "nf_conntrack_tcp_timeout_close",
.data = &tcp_timeouts[TCP_CONNTRACK_CLOSE], .data = &tcp_timeouts[TCP_CONNTRACK_CLOSE],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_max_retrans", .procname = "nf_conntrack_tcp_timeout_max_retrans",
.data = &nf_ct_tcp_timeout_max_retrans, .data = &nf_ct_tcp_timeout_max_retrans,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_tcp_timeout_unacknowledged", .procname = "nf_conntrack_tcp_timeout_unacknowledged",
.data = &nf_ct_tcp_timeout_unacknowledged, .data = &nf_ct_tcp_timeout_unacknowledged,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_TCP_LOOSE, .ctl_name = NET_NF_CONNTRACK_TCP_LOOSE,
...@@ -1263,7 +1263,7 @@ static struct ctl_table tcp_sysctl_table[] = { ...@@ -1263,7 +1263,7 @@ static struct ctl_table tcp_sysctl_table[] = {
.data = &nf_ct_tcp_loose, .data = &nf_ct_tcp_loose,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_TCP_BE_LIBERAL, .ctl_name = NET_NF_CONNTRACK_TCP_BE_LIBERAL,
...@@ -1271,7 +1271,7 @@ static struct ctl_table tcp_sysctl_table[] = { ...@@ -1271,7 +1271,7 @@ static struct ctl_table tcp_sysctl_table[] = {
.data = &nf_ct_tcp_be_liberal, .data = &nf_ct_tcp_be_liberal,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_TCP_MAX_RETRANS, .ctl_name = NET_NF_CONNTRACK_TCP_MAX_RETRANS,
...@@ -1279,7 +1279,7 @@ static struct ctl_table tcp_sysctl_table[] = { ...@@ -1279,7 +1279,7 @@ static struct ctl_table tcp_sysctl_table[] = {
.data = &nf_ct_tcp_max_retrans, .data = &nf_ct_tcp_max_retrans,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
...@@ -1293,63 +1293,63 @@ static struct ctl_table tcp_compat_sysctl_table[] = { ...@@ -1293,63 +1293,63 @@ static struct ctl_table tcp_compat_sysctl_table[] = {
.data = &tcp_timeouts[TCP_CONNTRACK_SYN_SENT], .data = &tcp_timeouts[TCP_CONNTRACK_SYN_SENT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_syn_recv", .procname = "ip_conntrack_tcp_timeout_syn_recv",
.data = &tcp_timeouts[TCP_CONNTRACK_SYN_RECV], .data = &tcp_timeouts[TCP_CONNTRACK_SYN_RECV],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_established", .procname = "ip_conntrack_tcp_timeout_established",
.data = &tcp_timeouts[TCP_CONNTRACK_ESTABLISHED], .data = &tcp_timeouts[TCP_CONNTRACK_ESTABLISHED],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_fin_wait", .procname = "ip_conntrack_tcp_timeout_fin_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_FIN_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_FIN_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_close_wait", .procname = "ip_conntrack_tcp_timeout_close_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_CLOSE_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_CLOSE_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_last_ack", .procname = "ip_conntrack_tcp_timeout_last_ack",
.data = &tcp_timeouts[TCP_CONNTRACK_LAST_ACK], .data = &tcp_timeouts[TCP_CONNTRACK_LAST_ACK],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_time_wait", .procname = "ip_conntrack_tcp_timeout_time_wait",
.data = &tcp_timeouts[TCP_CONNTRACK_TIME_WAIT], .data = &tcp_timeouts[TCP_CONNTRACK_TIME_WAIT],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_close", .procname = "ip_conntrack_tcp_timeout_close",
.data = &tcp_timeouts[TCP_CONNTRACK_CLOSE], .data = &tcp_timeouts[TCP_CONNTRACK_CLOSE],
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_tcp_timeout_max_retrans", .procname = "ip_conntrack_tcp_timeout_max_retrans",
.data = &nf_ct_tcp_timeout_max_retrans, .data = &nf_ct_tcp_timeout_max_retrans,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_TCP_LOOSE, .ctl_name = NET_IPV4_NF_CONNTRACK_TCP_LOOSE,
...@@ -1357,7 +1357,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = { ...@@ -1357,7 +1357,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = {
.data = &nf_ct_tcp_loose, .data = &nf_ct_tcp_loose,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL, .ctl_name = NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL,
...@@ -1365,7 +1365,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = { ...@@ -1365,7 +1365,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = {
.data = &nf_ct_tcp_be_liberal, .data = &nf_ct_tcp_be_liberal,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS, .ctl_name = NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS,
...@@ -1373,7 +1373,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = { ...@@ -1373,7 +1373,7 @@ static struct ctl_table tcp_compat_sysctl_table[] = {
.data = &nf_ct_tcp_max_retrans, .data = &nf_ct_tcp_max_retrans,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -143,14 +143,14 @@ static struct ctl_table udp_sysctl_table[] = { ...@@ -143,14 +143,14 @@ static struct ctl_table udp_sysctl_table[] = {
.data = &nf_ct_udp_timeout, .data = &nf_ct_udp_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "nf_conntrack_udp_timeout_stream", .procname = "nf_conntrack_udp_timeout_stream",
.data = &nf_ct_udp_timeout_stream, .data = &nf_ct_udp_timeout_stream,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
...@@ -163,14 +163,14 @@ static struct ctl_table udp_compat_sysctl_table[] = { ...@@ -163,14 +163,14 @@ static struct ctl_table udp_compat_sysctl_table[] = {
.data = &nf_ct_udp_timeout, .data = &nf_ct_udp_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.procname = "ip_conntrack_udp_timeout_stream", .procname = "ip_conntrack_udp_timeout_stream",
.data = &nf_ct_udp_timeout_stream, .data = &nf_ct_udp_timeout_stream,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -151,7 +151,7 @@ static struct ctl_table udplite_sysctl_table[] = { ...@@ -151,7 +151,7 @@ static struct ctl_table udplite_sysctl_table[] = {
.data = &nf_ct_udplite_timeout, .data = &nf_ct_udplite_timeout,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -159,7 +159,7 @@ static struct ctl_table udplite_sysctl_table[] = { ...@@ -159,7 +159,7 @@ static struct ctl_table udplite_sysctl_table[] = {
.data = &nf_ct_udplite_timeout_stream, .data = &nf_ct_udplite_timeout_stream,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = proc_dointvec_jiffies,
}, },
{ {
.ctl_name = 0 .ctl_name = 0
......
...@@ -336,7 +336,7 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -336,7 +336,7 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &nf_conntrack_max, .data = &nf_conntrack_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_COUNT, .ctl_name = NET_NF_CONNTRACK_COUNT,
...@@ -344,7 +344,7 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -344,7 +344,7 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &init_net.ct.count, .data = &init_net.ct.count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_BUCKETS, .ctl_name = NET_NF_CONNTRACK_BUCKETS,
...@@ -352,7 +352,7 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -352,7 +352,7 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &nf_conntrack_htable_size, .data = &nf_conntrack_htable_size,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_CHECKSUM, .ctl_name = NET_NF_CONNTRACK_CHECKSUM,
...@@ -360,7 +360,7 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -360,7 +360,7 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &init_net.ct.sysctl_checksum, .data = &init_net.ct.sysctl_checksum,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = NET_NF_CONNTRACK_LOG_INVALID, .ctl_name = NET_NF_CONNTRACK_LOG_INVALID,
...@@ -368,8 +368,8 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -368,8 +368,8 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &init_net.ct.sysctl_log_invalid, .data = &init_net.ct.sysctl_log_invalid,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &log_invalid_proto_min, .extra1 = &log_invalid_proto_min,
.extra2 = &log_invalid_proto_max, .extra2 = &log_invalid_proto_max,
}, },
...@@ -379,7 +379,7 @@ static ctl_table nf_ct_sysctl_table[] = { ...@@ -379,7 +379,7 @@ static ctl_table nf_ct_sysctl_table[] = {
.data = &nf_ct_expect_max, .data = &nf_ct_expect_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
...@@ -393,7 +393,7 @@ static ctl_table nf_ct_netfilter_table[] = { ...@@ -393,7 +393,7 @@ static ctl_table nf_ct_netfilter_table[] = {
.data = &nf_conntrack_max, .data = &nf_conntrack_max,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -41,8 +41,8 @@ static ctl_table nr_table[] = { ...@@ -41,8 +41,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_default_path_quality, .data = &sysctl_netrom_default_path_quality,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_quality, .extra1 = &min_quality,
.extra2 = &max_quality .extra2 = &max_quality
}, },
...@@ -52,8 +52,8 @@ static ctl_table nr_table[] = { ...@@ -52,8 +52,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_obsolescence_count_initialiser, .data = &sysctl_netrom_obsolescence_count_initialiser,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_obs, .extra1 = &min_obs,
.extra2 = &max_obs .extra2 = &max_obs
}, },
...@@ -63,8 +63,8 @@ static ctl_table nr_table[] = { ...@@ -63,8 +63,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_network_ttl_initialiser, .data = &sysctl_netrom_network_ttl_initialiser,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_ttl, .extra1 = &min_ttl,
.extra2 = &max_ttl .extra2 = &max_ttl
}, },
...@@ -74,8 +74,8 @@ static ctl_table nr_table[] = { ...@@ -74,8 +74,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_timeout, .data = &sysctl_netrom_transport_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t1, .extra1 = &min_t1,
.extra2 = &max_t1 .extra2 = &max_t1
}, },
...@@ -85,8 +85,8 @@ static ctl_table nr_table[] = { ...@@ -85,8 +85,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_maximum_tries, .data = &sysctl_netrom_transport_maximum_tries,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_n2, .extra1 = &min_n2,
.extra2 = &max_n2 .extra2 = &max_n2
}, },
...@@ -96,8 +96,8 @@ static ctl_table nr_table[] = { ...@@ -96,8 +96,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_acknowledge_delay, .data = &sysctl_netrom_transport_acknowledge_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t2, .extra1 = &min_t2,
.extra2 = &max_t2 .extra2 = &max_t2
}, },
...@@ -107,8 +107,8 @@ static ctl_table nr_table[] = { ...@@ -107,8 +107,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_busy_delay, .data = &sysctl_netrom_transport_busy_delay,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_t4, .extra1 = &min_t4,
.extra2 = &max_t4 .extra2 = &max_t4
}, },
...@@ -118,8 +118,8 @@ static ctl_table nr_table[] = { ...@@ -118,8 +118,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_requested_window_size, .data = &sysctl_netrom_transport_requested_window_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_window, .extra1 = &min_window,
.extra2 = &max_window .extra2 = &max_window
}, },
...@@ -129,8 +129,8 @@ static ctl_table nr_table[] = { ...@@ -129,8 +129,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_transport_no_activity_timeout, .data = &sysctl_netrom_transport_no_activity_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_idle, .extra1 = &min_idle,
.extra2 = &max_idle .extra2 = &max_idle
}, },
...@@ -140,8 +140,8 @@ static ctl_table nr_table[] = { ...@@ -140,8 +140,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_routing_control, .data = &sysctl_netrom_routing_control,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_route, .extra1 = &min_route,
.extra2 = &max_route .extra2 = &max_route
}, },
...@@ -151,8 +151,8 @@ static ctl_table nr_table[] = { ...@@ -151,8 +151,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_link_fails_count, .data = &sysctl_netrom_link_fails_count,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_fails, .extra1 = &min_fails,
.extra2 = &max_fails .extra2 = &max_fails
}, },
...@@ -162,8 +162,8 @@ static ctl_table nr_table[] = { ...@@ -162,8 +162,8 @@ static ctl_table nr_table[] = {
.data = &sysctl_netrom_reset_circuit, .data = &sysctl_netrom_reset_circuit,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_reset, .extra1 = &min_reset,
.extra2 = &max_reset .extra2 = &max_reset
}, },
......
...@@ -89,7 +89,7 @@ static struct ctl_table phonet_table[] = { ...@@ -89,7 +89,7 @@ static struct ctl_table phonet_table[] = {
.data = &local_port_range, .data = &local_port_range,
.maxlen = sizeof(local_port_range), .maxlen = sizeof(local_port_range),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_local_port_range, .proc_handler = proc_local_port_range,
.strategy = NULL, .strategy = NULL,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
......
...@@ -31,8 +31,8 @@ static ctl_table rose_table[] = { ...@@ -31,8 +31,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_restart_request_timeout, .data = &sysctl_rose_restart_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer .extra2 = &max_timer
}, },
...@@ -42,8 +42,8 @@ static ctl_table rose_table[] = { ...@@ -42,8 +42,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_call_request_timeout, .data = &sysctl_rose_call_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer .extra2 = &max_timer
}, },
...@@ -53,8 +53,8 @@ static ctl_table rose_table[] = { ...@@ -53,8 +53,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_reset_request_timeout, .data = &sysctl_rose_reset_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer .extra2 = &max_timer
}, },
...@@ -64,8 +64,8 @@ static ctl_table rose_table[] = { ...@@ -64,8 +64,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_clear_request_timeout, .data = &sysctl_rose_clear_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer .extra2 = &max_timer
}, },
...@@ -75,8 +75,8 @@ static ctl_table rose_table[] = { ...@@ -75,8 +75,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_no_activity_timeout, .data = &sysctl_rose_no_activity_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_idle, .extra1 = &min_idle,
.extra2 = &max_idle .extra2 = &max_idle
}, },
...@@ -86,8 +86,8 @@ static ctl_table rose_table[] = { ...@@ -86,8 +86,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_ack_hold_back_timeout, .data = &sysctl_rose_ack_hold_back_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer .extra2 = &max_timer
}, },
...@@ -97,8 +97,8 @@ static ctl_table rose_table[] = { ...@@ -97,8 +97,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_routing_control, .data = &sysctl_rose_routing_control,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_route, .extra1 = &min_route,
.extra2 = &max_route .extra2 = &max_route
}, },
...@@ -108,8 +108,8 @@ static ctl_table rose_table[] = { ...@@ -108,8 +108,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_link_fail_timeout, .data = &sysctl_rose_link_fail_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_ftimer, .extra1 = &min_ftimer,
.extra2 = &max_ftimer .extra2 = &max_ftimer
}, },
...@@ -119,8 +119,8 @@ static ctl_table rose_table[] = { ...@@ -119,8 +119,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_maximum_vcs, .data = &sysctl_rose_maximum_vcs,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_maxvcs, .extra1 = &min_maxvcs,
.extra2 = &max_maxvcs .extra2 = &max_maxvcs
}, },
...@@ -130,8 +130,8 @@ static ctl_table rose_table[] = { ...@@ -130,8 +130,8 @@ static ctl_table rose_table[] = {
.data = &sysctl_rose_window_size, .data = &sysctl_rose_window_size,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_window, .extra1 = &min_window,
.extra2 = &max_window .extra2 = &max_window
}, },
......
...@@ -63,8 +63,8 @@ static ctl_table sctp_table[] = { ...@@ -63,8 +63,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rto_initial, .data = &sctp_rto_initial,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &timer_max .extra2 = &timer_max
}, },
...@@ -74,8 +74,8 @@ static ctl_table sctp_table[] = { ...@@ -74,8 +74,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rto_min, .data = &sctp_rto_min,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &timer_max .extra2 = &timer_max
}, },
...@@ -85,8 +85,8 @@ static ctl_table sctp_table[] = { ...@@ -85,8 +85,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rto_max, .data = &sctp_rto_max,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &timer_max .extra2 = &timer_max
}, },
...@@ -96,8 +96,8 @@ static ctl_table sctp_table[] = { ...@@ -96,8 +96,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_valid_cookie_life, .data = &sctp_valid_cookie_life,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &timer_max .extra2 = &timer_max
}, },
...@@ -107,8 +107,8 @@ static ctl_table sctp_table[] = { ...@@ -107,8 +107,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_max_burst, .data = &sctp_max_burst,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &zero, .extra1 = &zero,
.extra2 = &int_max .extra2 = &int_max
}, },
...@@ -118,8 +118,8 @@ static ctl_table sctp_table[] = { ...@@ -118,8 +118,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_max_retrans_association, .data = &sctp_max_retrans_association,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &int_max .extra2 = &int_max
}, },
...@@ -129,8 +129,8 @@ static ctl_table sctp_table[] = { ...@@ -129,8 +129,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_sndbuf_policy, .data = &sctp_sndbuf_policy,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_RCVBUF_POLICY, .ctl_name = NET_SCTP_RCVBUF_POLICY,
...@@ -138,8 +138,8 @@ static ctl_table sctp_table[] = { ...@@ -138,8 +138,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rcvbuf_policy, .data = &sctp_rcvbuf_policy,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_PATH_MAX_RETRANS, .ctl_name = NET_SCTP_PATH_MAX_RETRANS,
...@@ -147,8 +147,8 @@ static ctl_table sctp_table[] = { ...@@ -147,8 +147,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_max_retrans_path, .data = &sctp_max_retrans_path,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &int_max .extra2 = &int_max
}, },
...@@ -158,8 +158,8 @@ static ctl_table sctp_table[] = { ...@@ -158,8 +158,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_max_retrans_init, .data = &sctp_max_retrans_init,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &int_max .extra2 = &int_max
}, },
...@@ -169,8 +169,8 @@ static ctl_table sctp_table[] = { ...@@ -169,8 +169,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_hb_interval, .data = &sctp_hb_interval,
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &one, .extra1 = &one,
.extra2 = &timer_max .extra2 = &timer_max
}, },
...@@ -180,8 +180,8 @@ static ctl_table sctp_table[] = { ...@@ -180,8 +180,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_cookie_preserve_enable, .data = &sctp_cookie_preserve_enable,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_RTO_ALPHA, .ctl_name = NET_SCTP_RTO_ALPHA,
...@@ -189,8 +189,8 @@ static ctl_table sctp_table[] = { ...@@ -189,8 +189,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rto_alpha, .data = &sctp_rto_alpha,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_RTO_BETA, .ctl_name = NET_SCTP_RTO_BETA,
...@@ -198,8 +198,8 @@ static ctl_table sctp_table[] = { ...@@ -198,8 +198,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_rto_beta, .data = &sctp_rto_beta,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_ADDIP_ENABLE, .ctl_name = NET_SCTP_ADDIP_ENABLE,
...@@ -207,8 +207,8 @@ static ctl_table sctp_table[] = { ...@@ -207,8 +207,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_addip_enable, .data = &sctp_addip_enable,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_PRSCTP_ENABLE, .ctl_name = NET_SCTP_PRSCTP_ENABLE,
...@@ -216,8 +216,8 @@ static ctl_table sctp_table[] = { ...@@ -216,8 +216,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_prsctp_enable, .data = &sctp_prsctp_enable,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = NET_SCTP_SACK_TIMEOUT, .ctl_name = NET_SCTP_SACK_TIMEOUT,
...@@ -225,8 +225,8 @@ static ctl_table sctp_table[] = { ...@@ -225,8 +225,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_sack_timeout, .data = &sctp_sack_timeout,
.maxlen = sizeof(long), .maxlen = sizeof(long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &sack_timer_min, .extra1 = &sack_timer_min,
.extra2 = &sack_timer_max, .extra2 = &sack_timer_max,
}, },
...@@ -236,7 +236,7 @@ static ctl_table sctp_table[] = { ...@@ -236,7 +236,7 @@ static ctl_table sctp_table[] = {
.data = &sysctl_sctp_mem, .data = &sysctl_sctp_mem,
.maxlen = sizeof(sysctl_sctp_mem), .maxlen = sizeof(sysctl_sctp_mem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -244,7 +244,7 @@ static ctl_table sctp_table[] = { ...@@ -244,7 +244,7 @@ static ctl_table sctp_table[] = {
.data = &sysctl_sctp_rmem, .data = &sysctl_sctp_rmem,
.maxlen = sizeof(sysctl_sctp_rmem), .maxlen = sizeof(sysctl_sctp_rmem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -252,7 +252,7 @@ static ctl_table sctp_table[] = { ...@@ -252,7 +252,7 @@ static ctl_table sctp_table[] = {
.data = &sysctl_sctp_wmem, .data = &sysctl_sctp_wmem,
.maxlen = sizeof(sysctl_sctp_wmem), .maxlen = sizeof(sysctl_sctp_wmem),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -260,8 +260,8 @@ static ctl_table sctp_table[] = { ...@@ -260,8 +260,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_auth_enable, .data = &sctp_auth_enable,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ {
.ctl_name = CTL_UNNUMBERED, .ctl_name = CTL_UNNUMBERED,
...@@ -269,8 +269,8 @@ static ctl_table sctp_table[] = { ...@@ -269,8 +269,8 @@ static ctl_table sctp_table[] = {
.data = &sctp_addip_noauth, .data = &sctp_addip_noauth,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
.strategy = &sysctl_intvec .strategy = sysctl_intvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -21,7 +21,7 @@ static ctl_table unix_table[] = { ...@@ -21,7 +21,7 @@ static ctl_table unix_table[] = {
.data = &init_net.unx.sysctl_max_dgram_qlen, .data = &init_net.unx.sysctl_max_dgram_qlen,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec .proc_handler = proc_dointvec
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
...@@ -24,8 +24,8 @@ static struct ctl_table x25_table[] = { ...@@ -24,8 +24,8 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_restart_request_timeout, .data = &sysctl_x25_restart_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer, .extra2 = &max_timer,
}, },
...@@ -35,8 +35,8 @@ static struct ctl_table x25_table[] = { ...@@ -35,8 +35,8 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_call_request_timeout, .data = &sysctl_x25_call_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer, .extra2 = &max_timer,
}, },
...@@ -46,8 +46,8 @@ static struct ctl_table x25_table[] = { ...@@ -46,8 +46,8 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_reset_request_timeout, .data = &sysctl_x25_reset_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer, .extra2 = &max_timer,
}, },
...@@ -57,8 +57,8 @@ static struct ctl_table x25_table[] = { ...@@ -57,8 +57,8 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_clear_request_timeout, .data = &sysctl_x25_clear_request_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer, .extra2 = &max_timer,
}, },
...@@ -68,8 +68,8 @@ static struct ctl_table x25_table[] = { ...@@ -68,8 +68,8 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_ack_holdback_timeout, .data = &sysctl_x25_ack_holdback_timeout,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.strategy = &sysctl_intvec, .strategy = sysctl_intvec,
.extra1 = &min_timer, .extra1 = &min_timer,
.extra2 = &max_timer, .extra2 = &max_timer,
}, },
...@@ -79,7 +79,7 @@ static struct ctl_table x25_table[] = { ...@@ -79,7 +79,7 @@ static struct ctl_table x25_table[] = {
.data = &sysctl_x25_forward, .data = &sysctl_x25_forward,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = proc_dointvec,
}, },
{ 0, }, { 0, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment