[CRIU] [PATCH v2 0/5] tun: Check that net ns of tun device is dumped

Kirill Tkhai ktkhai at virtuozzo.com
Fri Mar 2 15:46:11 MSK 2018


v2: Added [4-5/5] Andrew's suggested patches.

---

Andrew Vagin (2):
      net: Dump tun device net id in img
      zdtm: Add tun_ns test

Kirill Tkhai (3):
      net: Extrack ioctl() call from kerndat_socket_netns()
      tun: Check tun has ioctl() cmd SIOCGSKNS
      tun: Check that net ns of tun device is dumped


 criu/cr-check.c           |    8 ++++++++
 criu/include/kerndat.h    |    1 +
 criu/include/net.h        |    1 +
 criu/include/tun.h        |    1 +
 criu/kerndat.c            |    9 +++++++++
 criu/net.c                |   26 +++++++++++++++-----------
 criu/tun.c                |   38 +++++++++++++++++++++++++++++++++++++-
 images/tun.proto          |    1 +
 test/zdtm/static/Makefile |    2 ++
 test/zdtm/static/tun.c    |    6 +++++-
 10 files changed, 80 insertions(+), 13 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list