Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939091AbXFHHoH (ORCPT ); Fri, 8 Jun 2007 03:44:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S938335AbXFHHYg (ORCPT ); Fri, 8 Jun 2007 03:24:36 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:55204 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938331AbXFHHYa (ORCPT ); Fri, 8 Jun 2007 03:24:30 -0400 Message-Id: <20070608072231.147133000@sous-sol.org> References: <20070608072127.352723000@sous-sol.org> User-Agent: quilt/0.46-1 Date: Fri, 08 Jun 2007 00:22:11 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, David Miller , bunk@stusta.de, YOSHIFUJI Hideaki , Yuji Sekiya , Greg Kroah-Hartman Subject: [patch 44/54] IPV6 ROUTE: No longer handle ::/0 specially. Content-Disposition: inline; filename=ipv6-route-no-longer-handle-0-specially.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1267 Lines: 42 -stable review patch. If anyone has any objections, please let us know. --------------------- From: YOSHIFUJI Hideaki We do not need to handle ::/0 routes specially any longer. This should fix BUG #8349. Signed-off-by: YOSHIFUJI Hideaki Acked-by: Yuji Sekiya Signed-off-by: David S. Miller Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- net/ipv6/ip6_fib.c | 8 -------- 1 file changed, 8 deletions(-) --- linux-2.6.21.4.orig/net/ipv6/ip6_fib.c +++ linux-2.6.21.4/net/ipv6/ip6_fib.c @@ -619,14 +619,6 @@ static int fib6_add_rt2node(struct fib6_ ins = &fn->leaf; - if (fn->fn_flags&RTN_TL_ROOT && - fn->leaf == &ip6_null_entry && - !(rt->rt6i_flags & (RTF_DEFAULT | RTF_ADDRCONF)) ){ - fn->leaf = rt; - rt->u.dst.rt6_next = NULL; - goto out; - } - for (iter = fn->leaf; iter; iter=iter->u.dst.rt6_next) { /* * Search for duplicates -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/