Skip to content
Commit 58c4791d authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
Browse files

net: restore macvlan by the same way with and without userns



If userns_restore_one_link() is called outside of usernsd,
it switches into the criu namespace and switches back before exiting.

v2: rid of the include of linux/net_namespace.h in criu/include/net.h,
    as well as the associated defines and feature checks

travis-ci: success for net: simplify restore of macvlan-s (rev2)
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Acked-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 6ecf660d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment