Re: [PATCH net-next] ipv4: enable route flushing in network namespaces

From: David Miller
Date: Fri Jun 28 2019 - 17:34:55 EST


From: Christian Brauner <christian@xxxxxxxxxx>
Date: Mon, 24 Jun 2019 15:29:23 +0200

> Tools such as vpnc try to flush routes when run inside network
> namespaces by writing 1 into /proc/sys/net/ipv4/route/flush. This
> currently does not work because flush is not enabled in non-initial
> network namespaces.
> Since routes are per network namespace it is safe to enable
> /proc/sys/net/ipv4/route/flush in there.
>
> Link: https://github.com/lxc/lxd/issues/4257
> Signed-off-by: Christian Brauner <christian.brauner@xxxxxxxxxx>

Applied.