Commit ae682757 authored by Pavel Tikhomirov's avatar Pavel Tikhomirov Committed by Pavel Emelyanov

net/ipv4: add new sysctls

drop_unicast_in_l2_multicast and drop_gratuitous_arp appeared in MS:

commit 12b74dfadb5a ("ipv4: add option to drop unicast encapsulated in
L2 multicast")
commit 97daf3314550 ("ipv4: add option to drop gratuitous ARP packets")
Signed-off-by: 's avatarPavel Tikhomirov <ptikhomirov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 5bdc1623
...@@ -90,6 +90,8 @@ static char *devconfs[] = { ...@@ -90,6 +90,8 @@ static char *devconfs[] = {
"src_valid_mark", "src_valid_mark",
"tag", "tag",
"ignore_routes_with_linkdown", "ignore_routes_with_linkdown",
"drop_gratuitous_arp",
"drop_unicast_in_l2_multicast",
}; };
/* /*
......
...@@ -19,6 +19,8 @@ char *devconfs[] = { ...@@ -19,6 +19,8 @@ char *devconfs[] = {
"bootp_relay", "bootp_relay",
"disable_policy", "disable_policy",
"disable_xfrm", "disable_xfrm",
"drop_gratuitous_arp",
"drop_unicast_in_l2_multicast",
"force_igmp_version", "force_igmp_version",
"forwarding", "forwarding",
"igmpv2_unsolicited_report_interval", "igmpv2_unsolicited_report_interval",
...@@ -52,6 +54,8 @@ int rand_limit[] = { ...@@ -52,6 +54,8 @@ int rand_limit[] = {
2, /* bootp_relay */ 2, /* bootp_relay */
2, /* disable_policy */ 2, /* disable_policy */
2, /* disable_xfrm */ 2, /* disable_xfrm */
2, /* drop_gratuitous_arp */
2, /* drop_unicast_in_l2_multicast */
0, /* force_igmp_version */ 0, /* force_igmp_version */
2, /* forwarding */ 2, /* forwarding */
0, /* igmpv2_unsolicited_report_interval */ 0, /* igmpv2_unsolicited_report_interval */
......
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