netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IPV6: typo, unrequired #undef and killing warning
@ 2003-06-04  6:02 YOSHIFUJI Hideaki / 吉藤英明
  2003-06-04  6:08 ` Christoph Hellwig
  2003-06-04  7:47 ` David S. Miller
  0 siblings, 2 replies; 5+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-06-04  6:02 UTC (permalink / raw)
  To: davem; +Cc: netdev, Ville Nuorvala

Hello.

- no need to #undef CONFIG_IPV6_SUBTREE
- use braces around "&" and "|".
- fib_repair_tree() is typo.

Thanks.

Index: linux25-LINUS/net/ipv6/ip6_fib.c
===================================================================
RCS file: /cvsroot/usagi/usagi-backport/linux25/net/ipv6/ip6_fib.c,v
retrieving revision 1.1.1.12
diff -u -r1.1.1.12 ip6_fib.c
--- linux25-LINUS/net/ipv6/ip6_fib.c	26 May 2003 08:04:11 -0000	1.1.1.12
+++ linux25-LINUS/net/ipv6/ip6_fib.c	4 Jun 2003 05:39:49 -0000
@@ -40,7 +40,6 @@
 #include <net/ip6_route.h>
 
 #define RT6_DEBUG 2
-#undef CONFIG_IPV6_SUBTREES
 
 #if RT6_DEBUG >= 3
 #define RT6_TRACE(x...) printk(KERN_DEBUG x)
@@ -594,8 +593,8 @@
 	   is orphan. If it is, shoot it.
 	 */
 st_failure:
-	if (fn && !(fn->fn_flags&RTN_RTINFO|RTN_ROOT))
-		fib_repair_tree(fn);
+	if (fn && !(fn->fn_flags&(RTN_RTINFO|RTN_ROOT)))
+		fib6_repair_tree(fn);
 	dst_free(&rt->u.dst);
 	return err;
 #endif

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-04  9:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04  6:02 [PATCH] IPV6: typo, unrequired #undef and killing warning YOSHIFUJI Hideaki / 吉藤英明
2003-06-04  6:08 ` Christoph Hellwig
2003-06-04  6:08   ` David S. Miller
2003-06-04  7:47 ` David S. Miller
2003-06-04  9:19   ` YOSHIFUJI Hideaki / 吉藤英明

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).