“edb2d97eb57b7a21c9256260562de6a65dda86cc”上不存在“arch/powerpc/include/asm/pci.h”
提交 b2908fac 编写于 作者: E Eric Dumazet 提交者: David S. Miller

ipv4: convert fib_notify_on_flag_change sysctl to u8

Reduce footprint of sysctls.
Signed-off-by: NEric Dumazet <edumazet@google.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 490f33c4
...@@ -191,7 +191,7 @@ struct netns_ipv4 { ...@@ -191,7 +191,7 @@ struct netns_ipv4 {
int sysctl_udp_wmem_min; int sysctl_udp_wmem_min;
int sysctl_udp_rmem_min; int sysctl_udp_rmem_min;
int sysctl_fib_notify_on_flag_change; u8 sysctl_fib_notify_on_flag_change;
#ifdef CONFIG_NET_L3_MASTER_DEV #ifdef CONFIG_NET_L3_MASTER_DEV
int sysctl_udp_l3mdev_accept; int sysctl_udp_l3mdev_accept;
......
...@@ -1364,9 +1364,9 @@ static struct ctl_table ipv4_net_table[] = { ...@@ -1364,9 +1364,9 @@ static struct ctl_table ipv4_net_table[] = {
{ {
.procname = "fib_notify_on_flag_change", .procname = "fib_notify_on_flag_change",
.data = &init_net.ipv4.sysctl_fib_notify_on_flag_change, .data = &init_net.ipv4.sysctl_fib_notify_on_flag_change,
.maxlen = sizeof(int), .maxlen = sizeof(u8),
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec_minmax, .proc_handler = proc_dou8vec_minmax,
.extra1 = SYSCTL_ZERO, .extra1 = SYSCTL_ZERO,
.extra2 = &two, .extra2 = &two,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册