Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

From: Nicolas Dichtel
Date: Thu Feb 25 2016 - 09:20:56 EST


Le 24/02/2016 23:05, Eric W. Biederman a Ãcrit :
[snip]
In the general case the current behavior is random and not something
applications can count on, and we would do well to fix it so it is less
random. In particular consider the case of an application in a
non-initial network namespace creating a new network namespace. It is
not even possible to predict what values they will get for sysctls
today.
+1

From a backwards compatibility standpoint we are probably better off
with copying from the current network namespace rather than the initial
network namespace. As that more closely resembles the common case
today.
+1