mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
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: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
5bdc16238b
commit
ae682757fd
@@ -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[] = {
|
|||||||
"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[] = {
|
|||||||
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 */
|
||||||
|
Reference in New Issue
Block a user