[PATCH] IPVS: linkage error without CONFIG_IP_VS_PROTO_TCP

STALE8417d

2 messages, 2 authors, 2003-08-09 · open the first message on its own page

[PATCH] IPVS: linkage error without CONFIG_IP_VS_PROTO_TCP

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-08-09 07:29:52

This patch fixes linkage error occurs if CONFIG_IP_VS_PROTO_TCP 
is not set.

Thanks.

Index: linux26/net/ipv4/ipvs/ip_vs_core.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux26/net/ipv4/ipvs/ip_vs_core.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ip_vs_core.c
--- linux26/net/ipv4/ipvs/ip_vs_core.c	15 Jul 2003 07:42:29 -0000	1.1.1.1
+++ linux26/net/ipv4/ipvs/ip_vs_core.c	9 Aug 2003 07:14:55 -0000
@@ -53,7 +53,9 @@
 EXPORT_SYMBOL(ip_vs_conn_new);
 EXPORT_SYMBOL(ip_vs_conn_in_get);
 EXPORT_SYMBOL(ip_vs_conn_out_get);
+#ifdef CONFIG_IP_VS_PROTO_TCP
 EXPORT_SYMBOL(ip_vs_tcp_conn_listen);
+#endif
 EXPORT_SYMBOL(ip_vs_conn_put);
 #ifdef CONFIG_IP_VS_DEBUG
 EXPORT_SYMBOL(ip_vs_get_debug_level);

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

Re: [PATCH] IPVS: linkage error without CONFIG_IP_VS_PROTO_TCP

From: David S. Miller <hidden>
Date: 2003-08-09 09:34:05

On Sat, 09 Aug 2003 16:29:52 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ [off-list ref] wrote:
This patch fixes linkage error occurs if CONFIG_IP_VS_PROTO_TCP 
is not set.
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help