[Devel] [PATCH CRIU v3 0/2] dump/restore: Support ipsets
Valeriy Vdovin
valeriy.vdovin at virtuozzo.com
Mon Feb 17 18:57:54 MSK 2020
https://jira.sw.ru/browse/PSBM-100083
Added ipset dump/restore functionality. At dump operation it calls
'ipset save' and stores result into raw text image. At restore
it restores ipset by calling 'ipset restore'. This is done prior
to restoring iptables.
v3 changes:
- removed duplicate file close call
- rearranged one patch into 2.
- worked on minor comments.
v2 changes:
- worked on minor v1 review comments, including leaked file descriptor.
- updated zdtm tests to work on all flavors: host, ns, uns
Valeriy Vdovin (2):
dump/restore: Support ipsets
zdtm: Added test that covers ipset checkpoint/restore functionality
criu/image-desc.c | 1 +
criu/include/image-desc.h | 1 +
criu/include/magic.h | 1 +
criu/net.c | 48 ++++++++++++++++++++++++++++++++
test/zdtm/static/Makefile | 1 +
test/zdtm/static/netns-ipset.c | 58 +++++++++++++++++++++++++++++++++++++++
test/zdtm/static/netns-ipset.desc | 13 +++++++++
7 files changed, 123 insertions(+)
create mode 100644 test/zdtm/static/netns-ipset.c
create mode 100644 test/zdtm/static/netns-ipset.desc
--
1.8.3.1
More information about the Devel
mailing list