[CRIU] [PATCH 2/3] tun: Set net ns before opening master

Andrey Vagin avagin at virtuozzo.com
Tue Sep 25 00:33:20 MSK 2018


On Fri, Sep 21, 2018 at 04:26:25PM +0300, Cyrill Gorcunov wrote:
> On Fri, Sep 21, 2018 at 02:22:50PM +0100, Dmitry Safonov wrote:
> > 2018-09-21 9:41 GMT+01:00 Cyrill Gorcunov <gorcunov at gmail.com>:
> > > Opening tun device is tricky: the net device
> > > is allocated from current net namespace, thus
> > > we should set it first, otherwise all tuns
> > > which live in nested net namespace get moved
> > > to the toplevel one.
> > >
> > > Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
> > 
> > Sorry about non-fun question, but is it possible to create
> > a test for that?
> 
> Yes, I was about to make so once my patches for
> tests are applied.

They have been applied. We are waiting for a test;)



More information about the CRIU mailing list