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

Andrey Vagin avagin at virtuozzo.com
Tue Sep 25 00:28:52 MSK 2018


Applied, thanks!

On Fri, Sep 21, 2018 at 11:41:42AM +0300, Cyrill Gorcunov wrote:
>  - 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