Skip to contentSkip to conversation

Remove bogus #ifdef CONFIG_SYSCTL in TCP

PATCH Applied Andi Kleen 2 participants 2 messages Oct 12, 2004 – Oct 20, 2004

Subsystems (3)
lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Remove bogus #ifdef CONFIG_SYSCTL in TCP

Modular IPv6 needs these variables always exported, even when CONFIG_SYSCTL is not enabled.

net/ipv4/tcp_ipv4.c renamed from net/ipv4/tcp_ipv4.c-o +1 -2
diff -u linux/net/ipv4/tcp_ipv4.c-o linux/net/ipv4/tcp_ipv4.c
@@ -2656,8 +2656,7 @@
 EXPORT_SYMBOL(tcp_proc_register);
 EXPORT_SYMBOL(tcp_proc_unregister);
 #endif
-#ifdef CONFIG_SYSCTL
 EXPORT_SYMBOL(sysctl_local_port_range);
 EXPORT_SYMBOL(sysctl_max_syn_backlog);
 EXPORT_SYMBOL(sysctl_tcp_low_latency);
-#endif
+