CMNT: [PATCH v1][SRU][Disco] ipv4: enable route flushing in network namespaces

Christian Brauner christian.brauner at ubuntu.com
Fri Sep 27 08:25:19 UTC 2019


On Wed, Sep 25, 2019 at 08:41:51AM -0500, Tyler Hicks wrote:
> On 2019-09-06 17:19:58, Christian Brauner wrote:
> > BugLink: https://bugs.launchpad.net/bugs/1836912
> > 
> > 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 at ubuntu.com>
> > Signed-off-by: David S. Miller <davem at davemloft.net>
> > (cherry picked from commit 5cdda5f1d6adde02da591ca2196f20289977dc56)
> 
> smb pointed out in another thread that the following line needs to be
> injected here when applying the patch to the Disco kernel:
> 
> Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
> 
> Christian, please confirm that you are ok with the stable kernel team
> inserting your S-O-B (saving you from needing to resubmit the patch).

That's of course fine with me!

Christian



More information about the kernel-team mailing list