r1610 - in trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian: . patches patches/series

Christoph Hellwig hch-guest@haydn.debian.org
Sat, 18 Sep 2004 06:31:17 -0600


Author: hch-guest
Date: 2004-09-18 06:30:39 -0600 (Sat, 18 Sep 2004)
New Revision: 1610

Added:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/tcp_default_win_scale.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/series/2.6.8-7
Log:

  * Switch /proc/sys/net/ipv4/tcp_default_win_scale default back to 0, there's
    just too many broken system out there in the wild. (closes: #267342)
    (Christoph Hellwig).



Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-09-18 12:07:36 UTC (rev 1609)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-09-18 12:30:39 UTC (rev 1610)
@@ -6,6 +6,10 @@
 
   * Fix yet another bio leak (Christoph Hellwig).
 
+  * Switch /proc/sys/net/ipv4/tcp_default_win_scale default back to 0, there's
+    just too many broken system out there in the wild. (closes: #267342)
+    (Christoph Hellwig).
+
  -- Jens Schmalzing <jensen@debian.org>  Thu, 16 Sep 2004 10:04:54 +0200
 
 kernel-source-2.6.8 (2.6.8-6) unstable; urgency=medium

Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/series/2.6.8-7
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/series/2.6.8-7	2004-09-18 12:07:36 UTC (rev 1609)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/series/2.6.8-7	2004-09-18 12:30:39 UTC (rev 1610)
@@ -1,3 +1,4 @@
 + ppc-boot-isa.dpatch
 + i915-agp.dpatch
 + copy_to_high_bio_irq-leak-fix.dpatch
++ tcp_default_win_scale.dpatch

Added: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/tcp_default_win_scale.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/tcp_default_win_scale.dpatch	2004-09-18 12:07:36 UTC (rev 1609)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/tcp_default_win_scale.dpatch	2004-09-18 12:30:39 UTC (rev 1610)
@@ -0,0 +1,22 @@
+#! /bin/sh -e 
+## <PATCHNAME>.dpatch by <PATCH_AUTHOR@EMAI>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Description: Switch /proc/sys/net/ipv4/tcp_default_win_scale default back to 0
+## DP: Patch author: Christoph Hellwig <hch@lst.de>
+## DP: Upstream status: local hack to work around broken systems other than Linux
+
+. $(dirname $0)/DPATCH
+
+@DPATCH@
+--- kernel-source-2.6.8-orig/net/ipv4/tcp.c	2004-08-14 07:36:33.000000000 +0200
++++ kernel-source-2.6.8/net/ipv4/tcp.c	2004-09-18 14:29:00.692973688 +0200
+@@ -276,7 +276,7 @@
+ 
+ atomic_t tcp_orphan_count = ATOMIC_INIT(0);
+ 
+-int sysctl_tcp_default_win_scale = 7;
++int sysctl_tcp_default_win_scale = 0;
+ 
+ int sysctl_tcp_mem[3];
+ int sysctl_tcp_wmem[3] = { 4 * 1024, 16 * 1024, 128 * 1024 };