interface, ubus: rework netns up/down
authorDaniel Golle <daniel@makrotopia.org>
Mon, 11 Oct 2021 23:17:26 +0000 (00:17 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 12 Oct 2021 23:30:45 +0000 (00:30 +0100)
commit7a048bd6871df952ff1324bec7175891c9b38f99
tree50ed3d6a732fb6b1248b2049369f949930e62c6c
parentbe8cd8fd4d6fd320bf668482fb49c4e0426c9d28
interface, ubus: rework netns up/down

Let per-container netifd instance handle the netns bringdown, it makes
everything easier and gets rid of the fork() when bringing down
container network interfaces.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
interface.c
interface.h
ubus.c