[Devel] [PATCH CRIU v3 0/2] dump/restore: Support ipsets
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Fri Feb 21 15:04:48 MSK 2020
Everything except file naming is fine.
On 2/17/20 6:57 PM, Valeriy Vdovin wrote:
> 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
>
--
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.
More information about the Devel
mailing list