Commit 7d4b37eb authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

ipv4: convert igmp_link_local_mcast_reports sysctl to u8

This sysctl is a bool, can use less storage.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be205fe6
...@@ -197,9 +197,9 @@ struct netns_ipv4 { ...@@ -197,9 +197,9 @@ struct netns_ipv4 {
u8 sysctl_udp_l3mdev_accept; u8 sysctl_udp_l3mdev_accept;
#endif #endif
u8 sysctl_igmp_llm_reports;
int sysctl_igmp_max_memberships; int sysctl_igmp_max_memberships;
int sysctl_igmp_max_msf; int sysctl_igmp_max_msf;
int sysctl_igmp_llm_reports;
int sysctl_igmp_qrv; int sysctl_igmp_qrv;
struct ping_group_range ping_group_range; struct ping_group_range ping_group_range;
......
...@@ -848,9 +848,9 @@ static struct ctl_table ipv4_net_table[] = { ...@@ -848,9 +848,9 @@ static struct ctl_table ipv4_net_table[] = {
{ {
.procname = "igmp_link_local_mcast_reports", .procname = "igmp_link_local_mcast_reports",
.data = &init_net.ipv4.sysctl_igmp_llm_reports, .data = &init_net.ipv4.sysctl_igmp_llm_reports,
.maxlen = sizeof(int), .maxlen = sizeof(u8),
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec .proc_handler = proc_dou8vec_minmax,
}, },
{ {
.procname = "igmp_max_memberships", .procname = "igmp_max_memberships",
......
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