From: davem@davemloft.net Date: Sun, 13 Mar 2005 05:41:54 +0000 (-0800) Subject: [PATCH] Put back tcp_timer_bug_msg[] symbol export. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c568eceeb63000568725d09442f18178ce3d44a7;p=thirdparty%2Fkernel%2Fstable.git [PATCH] Put back tcp_timer_bug_msg[] symbol export. This wrecks the ipv6 modular build for a lot of people. In fact, since I always build ipv6 modular I am surprised I never hit this. My best guess is that my compiler is optimizing the reference away, but that can never be depended upon and the symbol export really is needed. [TCP]: Put back tcp_timer_bug_msg[] symbol export. It is needed for tcp_reset_xmit_timer(), which is invoked by tcp_prequeue() which is invoked from tcp_ipv6.c Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 84844eeeb654f..85b279f1e935b 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -38,6 +38,7 @@ static void tcp_keepalive_timer (unsigned long data); #ifdef TCP_DEBUG const char tcp_timer_bug_msg[] = KERN_DEBUG "tcpbug: unknown timer value\n"; +EXPORT_SYMBOL(tcp_timer_bug_msg); #endif /*