]> git.hungrycats.org Git - linux/commitdiff
[PATCH] [TCP]: Put back tcp_timer_bug_msg[] symbol export.
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 Mar 2005 13:41:54 +0000 (05:41 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 12 Mar 2005 13:41:54 +0000 (05:41 -0800)
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 <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/tcp_timer.c

index 84844eeeb654f6ac67743067d0f17d658d1a9e6e..85b279f1e935b0e2d5870485d1003287be8848d1 100644 (file)
@@ -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
 
 /*