netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix build problem with IPV6
@ 2003-08-15 21:07 Stephen Hemminger
  2003-08-15 21:19 ` Arnaldo Carvalho de Melo
  2003-08-16 14:50 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2003-08-15 21:07 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki, David S. Miller; +Cc: netdev

IPV6 won't build in current 2.6.0-test3 tree unless CONFIG_XFRM is defined
because of reference to xfrm6_fini.

The linux way to fix this would be to make the functions
stub's in the include file, but that isn't how IPV6 does it now
for other xfrm functions.

diff -Nru a/net/ipv6/route.c b/net/ipv6/route.c
--- a/net/ipv6/route.c	Fri Aug 15 14:04:05 2003
+++ b/net/ipv6/route.c	Fri Aug 15 14:04:05 2003
@@ -2000,7 +2000,9 @@
 	proc_net_remove("ipv6_route");
 	proc_net_remove("rt6_stats");
 #endif
+#ifdef CONFIG_XFRM
 	xfrm6_fini();
+#endif
 	rt6_ifdown(NULL);
 	fib6_gc_cleanup();
 	kmem_cache_destroy(ip6_dst_ops.kmem_cachep);

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

end of thread, other threads:[~2003-08-16 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 21:07 [PATCH] fix build problem with IPV6 Stephen Hemminger
2003-08-15 21:19 ` Arnaldo Carvalho de Melo
2003-08-16 14:50 ` David S. Miller

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).