[CRIU] [PATCH CRIU 01/14] net/ipv4: add new sysctls
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Wed Mar 30 03:42:19 PDT 2016
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")
https://jira.sw.ru/browse/PSBM-30942
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
criu/net.c | 2 ++
test/zdtm/static/netns-dev.c | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/criu/net.c b/criu/net.c
index faed2bd..0feddf5 100644
--- a/criu/net.c
+++ b/criu/net.c
@@ -90,6 +90,8 @@ static char *devconfs[] = {
"src_valid_mark",
"tag",
"ignore_routes_with_linkdown",
+ "drop_gratuitous_arp",
+ "drop_unicast_in_l2_multicast",
};
/*
diff --git a/test/zdtm/static/netns-dev.c b/test/zdtm/static/netns-dev.c
index fa623aa..9d1d5b7 100644
--- a/test/zdtm/static/netns-dev.c
+++ b/test/zdtm/static/netns-dev.c
@@ -19,6 +19,8 @@ char *devconfs[] = {
"bootp_relay",
"disable_policy",
"disable_xfrm",
+ "drop_gratuitous_arp",
+ "drop_unicast_in_l2_multicast",
"force_igmp_version",
"forwarding",
"igmpv2_unsolicited_report_interval",
@@ -52,6 +54,8 @@ int rand_limit[] = {
2, /* bootp_relay */
2, /* disable_policy */
2, /* disable_xfrm */
+ 2, /* drop_gratuitous_arp */
+ 2, /* drop_unicast_in_l2_multicast */
0, /* force_igmp_version */
2, /* forwarding */
0, /* igmpv2_unsolicited_report_interval */
--
1.9.3
More information about the CRIU
mailing list