]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
[PATCH] add ipv6-modular-build-fix.patch
authorchrisw@vas.sous-sol.org <chrisw@vas.sous-sol.org>
Thu, 10 Mar 2005 01:20:59 +0000 (17:20 -0800)
committerGreg KH <gregkh@suse.de>
Thu, 12 May 2005 05:08:40 +0000 (22:08 -0700)
ipv6-modular-build-fix.patch [new file with mode: 0644]

diff --git a/ipv6-modular-build-fix.patch b/ipv6-modular-build-fix.patch
new file mode 100644 (file)
index 0000000..eb5286d
--- /dev/null
@@ -0,0 +1,53 @@
+Date: Wed, 9 Mar 2005 17:14:31 -0800
+From: "David S. Miller" <davem@davemloft.net>
+To: stable@kernel.org
+Cc: 
+Subject: [PATCH] Fix busted TCP symbol export
+Lines: 47
+
+
+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.
+
+Thanks.
+
+# This is a BitKeeper generated diff -Nru style patch.
+#
+# ChangeSet
+#   2005/03/02 21:36:48-08:00 yoshfuji@linux-ipv6.org 
+#   [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>
+# 
+# net/ipv4/tcp_timer.c
+#   2005/03/02 21:36:38-08:00 yoshfuji@linux-ipv6.org +1 -0
+#   [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>
+
+diff -Nru a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c
+--- a/net/ipv4/tcp_timer.c     2005-03-09 17:20:38 -08:00
++++ b/net/ipv4/tcp_timer.c     2005-03-09 17:20:38 -08:00
+@@ -38,6 +38,7 @@
+ #ifdef TCP_DEBUG
+ const char tcp_timer_bug_msg[] = KERN_DEBUG "tcpbug: unknown timer value\n";
++EXPORT_SYMBOL(tcp_timer_bug_msg);
+ #endif
+ /*
+
+