[CRIU] [PATCH v2 00/15] net/ipv6: c/r dev/default/all conf ops
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Wed Apr 20 07:42:41 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 SysctlEntrys to track unused
sysctls
- 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
v2:
1) add SysctlEntrys, now can save string sysctls and easier handle unused
Pavel Tikhomirov (15):
net/ipv4: add new sysctls
net/ipv4: suffix devconfs with "4"
sysctl: add req->has to mark successful sysctl_op request
protobuf: add SysctlEntry for ipv4/ipv6 sysctl confs or some others
net/ipv4: add net_conf_op to reuse for ipv6
net/ipv6/protobuf: add device config options for ipv6
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 | 371 +++++++++++++++++++++++++++++++++++++------
criu/sysctl.c | 9 ++
images/Makefile | 1 +
images/netdev.proto | 11 ++
images/sysctl.proto | 7 +
test/zdtm/static/netns-dev.c | 308 +++++++++++++++++++++++++++--------
7 files changed, 588 insertions(+), 120 deletions(-)
create mode 100644 images/sysctl.proto
--
1.9.3
More information about the CRIU
mailing list