[CRIU] [PATCH 0/3] tun: Check that net ns of tun device is dumped
    Kirill Tkhai 
    ktkhai at virtuozzo.com
       
    Mon Feb 19 15:15:53 MSK 2018
    
    
  
This patchset makes dump code to check, that net is related
to one of net namespaces, we already collected. If it's not,
dump will fail like we do that for plain sockets.
This patchset requires patch "tun: Add ioctl() SIOCGSKNS cmd
to allow obtaining net ns of tun device" from net-next:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=f2780d6d74756bc1d7ba32ff3dd0de4afd7c7e1e
---
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/include/kerndat.h |    1 +
 criu/include/net.h     |    1 +
 criu/include/tun.h     |    1 +
 criu/kerndat.c         |    3 +++
 criu/net.c             |   26 +++++++++++++++-----------
 criu/tun.c             |   23 +++++++++++++++++++++++
 6 files changed, 44 insertions(+), 11 deletions(-)
--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
    
    
More information about the CRIU
mailing list