[CRIU] [PATCH 0/3] criu: add support for external net namespaces

Adrian Reber areber at redhat.com
Mon Jul 23 22:06:31 MSK 2018


On Mon, Jul 23, 2018 at 07:20:50PM +0300, Andrei Vagin wrote:
> Andrei Vagin (3):
>   net: read network namespace images before forking tasks
>   criu: add support for external net namespaces
>   test/others: check external network namespaces
> 
>  criu/cr-restore.c              |  6 ++-
>  criu/include/namespaces.h      |  1 +
>  criu/include/net.h             |  3 ++
>  criu/namespaces.c              |  3 ++
>  criu/net.c                     | 97 ++++++++++++++++++++++++++++++++++--------
>  images/netdev.proto            |  1 +
>  test/others/netns_ext/Makefile |  2 +
>  test/others/netns_ext/_run.sh  |  4 ++
>  test/others/netns_ext/run.sh   | 42 ++++++++++++++++++
>  9 files changed, 140 insertions(+), 19 deletions(-)
>  create mode 100644 test/others/netns_ext/Makefile
>  create mode 100644 test/others/netns_ext/_run.sh
>  create mode 100755 test/others/netns_ext/run.sh

Acked-by: Adrian Reber <areber at redhat.com>

Tested with the provided test cases and with runc. Works as expected.
Thanks!

		Adrian


More information about the CRIU mailing list