[CRIU] [PATCH CRIU 00/14] net/ipv6: c/r dev/default/all conf ops
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Wed Mar 30 03:42:18 PDT 2016
These patch set introduces support of another part of network
sysctls, now for ipv6.
Most important things:
- DEVCONFS_UNUSED=-1 is wrong, use bitmasks, -1 is valid value for
restore now
- mtu, forwarding, disable_ipv6 need special care on restore and in
tests
- add ranges for sysctl values in tests instead of just one limit,
also fix ranges for some sysctls
https://jira.sw.ru/browse/PSBM-30942
Pavel Tikhomirov (14):
net/ipv4: add new sysctls
net/ipv4: suffix configs with "4"
net: add net_conf_op to reuse for ipv6
dump/net/ipv4: add unused bitmask to allow negative sysctl values
net/ipv6/protobuf: add device config options for ipv6 and mask
net/ipv6: add devconfs6 array to store config option's names
dump/net/ipv6: net device and def/all configuration
restore/net/ipv6: net device and def/all configuration
zdtm/net/ipv4: rename devconfs4 and rand_limit4 and dir4
zdtm/net/ipv4: make save_and_set and check_and_restore reusable
zdtm/net/ipv4: replace rand limits with rand ranges
zdtm/net/ipv4: split save_and_set and check_and_restore
zdtm/net/ipv6: add devconfs6 and rand_range6
zdtm/net/ipv6: add test for confs
criu/include/sysctl.h | 1 +
criu/net.c | 251 ++++++++++++++++++++++++++++-------
criu/sysctl.c | 5 +-
images/netdev.proto | 13 +-
test/zdtm/static/netns-dev.c | 308 +++++++++++++++++++++++++++++++++----------
5 files changed, 461 insertions(+), 117 deletions(-)
--
1.9.3
More information about the CRIU
mailing list