Skip to content
Commit 1ac6d76c authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

tun: Restore tun files and tun links



This thing is pretty straightforward -- on netns creation
populate it with tun-s, after this collect tun files, open
and attach them with regular fd-s engine.

One tricky thing -- when populating namespace with tun links
make them all persistent and drop this flag (if required)
later, when the first alive opened appears.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent a3e53658
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