netdev
[Top] [All Lists]

[PATCH] compile failure with out proc fs

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH] compile failure with out proc fs
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 25 Jul 2003 13:36:38 -0700
Cc: netdev@xxxxxxxxxxx
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
Resolve compile error when CONFIG_IP_MULTICAST && !CONFIG_PROC_FS

diff -Nru a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
--- a/net/ipv4/ip_output.c      Fri Jul 25 12:31:11 2003
+++ b/net/ipv4/ip_output.c      Fri Jul 25 12:31:11 2003
@@ -1313,7 +1313,7 @@
        ip_rt_init();
        inet_initpeers();
 
-#ifdef CONFIG_IP_MULTICAST
+#if defined(CONFIG_IP_MULTICAST) && defined(CONFIG_PROC_FS)
        igmp_mc_proc_init();
 #endif
 }

<Prev in Thread] Current Thread [Next in Thread>