]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: don't flush routes when setting loopback down
authorstephen hemminger <shemminger@vyatta.com>
Thu, 16 Dec 2010 11:28:12 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Dec 2010 02:26:26 +0000 (18:26 -0800)
commita08dcf6f39f95915725ed969f87a8f4a62e4d64e
treeb3e553db3b756b3714dcce42cd92f2e6bb266ddc
parent7ef525e97fddff2d3c6f6632db12246deb6bc55b
ipv6: don't flush routes when setting loopback down

When loopback device is being brought down, then keep the route table
entries because they are special. The entries in the local table for
linklocal routes and ::1 address should not be purged.

This is a sub optimal solution to the problem and should be replaced
by a better fix in future.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c