Re: [PATCH net] ipv6: correctly add local routes when lo goes up

2016-10-14 Thread David Miller
From: Nicolas Dichtel Date: Wed, 12 Oct 2016 10:10:40 +0200 > The goal of the patch is to fix this scenario: > ip link add dummy1 type dummy > ip link set dummy1 up > ip link set lo down ; ip link set lo up > > After that sequence, the local route to the link layer address of dummy1 is > not

[PATCH net] ipv6: correctly add local routes when lo goes up

2016-10-12 Thread Nicolas Dichtel
The goal of the patch is to fix this scenario: ip link add dummy1 type dummy ip link set dummy1 up ip link set lo down ; ip link set lo up After that sequence, the local route to the link layer address of dummy1 is not there anymore. When the loopback is set down, all local routes are deleted