[PATCH] ip6_fib comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two of the comments in net/ipv6/ip6_fib.c seem to disagree, at least
to me.

(a)
 * 	Yuji SEKIYA @USAGI:	Support default route on router node;
 * 				remove ip6_null_entry from the top of
 * 				routing table.

(b)
		/*
		 * The top fib of ip6 routing table includes ip6_null_entry.
		 */

This patch could be wrong, but it deletes (b), on the basis that
the top <leaf> in the ip6 routing table points to ip6_null_entry.

Patch is for 2.5.69.

Comments?

--
~Randy


patch_name:	ipv6_fib_comment.patch
patch_version:	2003-05-06.11:47:11
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	remove incorrect comment;
product:	Linux
product_versions: 2.5.69
maintainer:	davem@redhat.com
diffstat:	=
 net/ipv6/ip6_fib.c |    3 ---
 1 files changed, 3 deletions(-)


diff -Naur ./net/ipv6/ip6_fib.c%CMNT ./net/ipv6/ip6_fib.c
--- ./net/ipv6/ip6_fib.c%CMNT	2003-05-04 16:53:37.000000000 -0700
+++ ./net/ipv6/ip6_fib.c	2003-05-06 11:46:44.000000000 -0700
@@ -434,9 +434,6 @@
 	if (fn->fn_flags&RTN_TL_ROOT &&
 	    fn->leaf == &ip6_null_entry &&
 	    !(rt->rt6i_flags & (RTF_DEFAULT | RTF_ADDRCONF | RTF_ALLONLINK)) ){
-		/*
-		 * The top fib of ip6 routing table includes ip6_null_entry.
-		 */
 		fn->leaf = rt;
 		rt->u.next = NULL;
 		goto out;
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux