Skip to content
Commit 6aa4a9c2 authored by Andrei Vagin's avatar Andrei Vagin
Browse files

netns: restore internal veth devices



When we dump a veth device, the kernel reports where a peer device lives
and we use this information to restore this veth pair.

On restore we set a net ns id for a peer and it is created in the required
netns.

v2: add more comments
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent 7dc4b34e
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