From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sohny Thomas Subject: Re: [PATCH] ipv6: default route for link local address is not added while assigning a address Date: Mon, 03 Feb 2014 12:32:10 +0530 Message-ID: <52EF3EF2.30900@linux.vnet.ibm.com> References: <52E8A2AA.3090507@linux.vnet.ibm.com> <52E8DA37.7010208@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: nicolas.dichtel@6wind.com, netdev , linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org, davem@davemloft.net, kumuda Return-path: In-Reply-To: <52E8DA37.7010208@6wind.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wednesday 29 January 2014 04:08 PM, Nicolas Dichtel wrote: > Le 29/01/2014 07:41, Sohny Thomas a =E9crit : >> Resending this on netdev mailing list: >> Default route for link local address is configured automatically if >> NETWORKING_IPV6=3Dyes is in ifcfg-eth*. >> When the route table for the interface is flushed and a new address = is >> added to >> the same device with out removing linklocal addr, default route for >> link local >> address has to added by default. >> >> I have found the issue to be caused by this checkin >> >> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commi= t/net/ipv6?id=3D62b54dd91567686a1cb118f76a72d5f4764a86dd >> >> >> >> According to this change : >> He removes adding a link local route if any other address is added , >> applicable >> across all interfaces though there's mentioned only lo interface >> So below patch fixes for other devices >> >> Signed-off-by: Sohny THomas > Your email client has corrupted the patch, it cannot be applied. > Please read Documentation/email-clients.txt Sorry about that. Will resend again > > About the patch, I still think that the flush is too agressive. Link = local > routes are marked as 'proto kernel', removing them without the link l= ocal > address is wrong. > > With this patch, you will add a link local route even if you don't ha= ve > a link local address. I think it wouldn't hurt to have a Link local route for NDP in case a=20 the routes become unreachable -Regards, Sohny > > >