summary'>refsloglog'>tree'>commit'>diffstats
'>
path: '>root//'>sys-kernel/boest-v4.17.15//0002-pool-2.6.25-tcp-timewait-20s.diff.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/boest-v4.17.15/0002-pool-2.6.25-tcp-timewait-20s.diff.patch')
-rw-rw-r--r--sys-kernel/boest-v4.17.15/0002-pool-2.6.25-tcp-timewait-20s.diff.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-kernel/boest-v4.17.15/0002-pool-2.6.25-tcp-timewait-20s.diff.patch b/sys-kernel/boest-v4.17.15/0002-pool-2.6.25-tcp-timewait-20s.diff.patch
new file mode 100644
index 00000000..4a7d97f2
--- /dev/null
+++ b/sys-kernel/boest-v4.17.15/0002-pool-2.6.25-tcp-timewait-20s.diff.patch
@@ -0,0 +1,27 @@
+From 979e2d162ba217001f7d487af3ccab41a1bb3bce Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Sun, 15 Feb 2009 14:51:33 +0100
+Subject: [PATCH 02/16] pool/2.6.25-tcp-timewait-20s.diff
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ include/net/tcp.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/net/tcp.h b/include/net/tcp.h
+index 5ccc4ec646cb..a169f43d6ac5 100644
+--- a/include/net/tcp.h
++++ b/include/net/tcp.h
+@@ -117,8 +117,8 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
+ * initial RTO.
+ */
+
+-#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
+- * state, about 60 seconds */
++#define TCP_TIMEWAIT_LEN (20*HZ) /* how long to wait to destroy TIME-WAIT
++ * state, about 20 seconds */
+ #define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN
+ /* BSD style FIN_WAIT2 deadlock breaker.
+ * It used to be 3min, new value is 60sec,