[CRIU] [PATCH 0/3] tun: Fixes for netns sake

Cyrill Gorcunov gorcunov at gmail.com
Fri Sep 21 11:41:42 MSK 2018


 - When several netns present the names of tun devices can
   be the same and to find precise instance we should look
   into net index

 - When creating tun device we should setup netns first not
   after the file is opened as we have now

Cyrill Gorcunov (3):
  tun: Define log prefix
  tun: Set net ns before opening master
  tun: Add support for multiple net ns

 criu/include/tun.h |  4 +++-
 criu/net.c         |  2 +-
 criu/tun.c         | 54 ++++++++++++++++++++++++++--------------------
 3 files changed, 35 insertions(+), 25 deletions(-)

-- 
2.17.1



More information about the CRIU mailing list