[CRIU] [PATCH 2/3] tun: Set net ns before opening master
Dmitry Safonov
0x7f454c46 at gmail.com
Fri Sep 21 16:22:50 MSK 2018
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?
Thanks,
Dmitry
More information about the CRIU
mailing list