commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. upstream/201211


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. upstream/20121127-646-g2a07610
Date: Thu, 06 Dec 2012 23:52:16 +0000

The following commit has been merged in the master branch:
commit 2a076108074c4a2710509a5b94330040f283a6ab
Author: Samuel Thibault <address@hidden>
Date:   Fri Dec 7 00:27:55 2012 +0000

    increase number of available local ports.

diff --git a/debian/changelog b/debian/changelog
index a9921b4..28ed633 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ hurd (20121127-1~0) UNRELEASED; urgency=low
     support to pthread.
   * control: Add missing libx11-dev, x11proto-core-dev, pkg-config, xkb-data,
   flex, and bison build-dependencies.
+  * New upstream patch patches/pfinet_local_port_range.patch to increase
+    number of available local ports.
 
  -- Samuel Thibault <address@hidden>  Sun, 15 Jul 2012 12:53:39 +0200
 
diff --git a/debian/patches/pfinet_local_port_range.patch 
b/debian/patches/pfinet_local_port_range.patch
new file mode 100644
index 0000000..3103b8a
--- /dev/null
+++ b/debian/patches/pfinet_local_port_range.patch
@@ -0,0 +1,27 @@
+commit 23c9bbee12b08bcbc82188dabe3bf8135756c183
+Author: Richard Braun <address@hidden>
+Date:   Thu Dec 6 23:16:54 2012 +0000
+
+    pfinet: increase local port range
+    
+    * pfinet/linux-src/net/ipv4/tcp_ipv4.c (sysctl_local_port_range): Set port
+    range to 32768-61000.
+
+merged upstream
+
+diff --git a/pfinet/linux-src/net/ipv4/tcp_ipv4.c 
b/pfinet/linux-src/net/ipv4/tcp_ipv4.c
+index 9919423..60d2bdb 100644
+--- a/pfinet/linux-src/net/ipv4/tcp_ipv4.c
++++ b/pfinet/linux-src/net/ipv4/tcp_ipv4.c
+@@ -113,7 +113,11 @@ struct sock *tcp_regs[TCP_NUM_REGS];
+  * For high-usage systems, use sysctl to change this to
+  * 32768-61000
+  */
++#if 0
+ int sysctl_local_port_range[2] = { 1024, 4999 };
++#else
++int sysctl_local_port_range[2] = { 32768, 61000 };
++#endif
+ int tcp_port_rover = (1024 - 1);
+ 
+ static __inline__ int tcp_hashfn(__u32 laddr, __u16 lport,
diff --git a/debian/patches/series b/debian/patches/series
index 299b945..44e45af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -41,3 +41,4 @@ libmachdev.patch
 exec_filename_exec.patch
 exec_filename_fs.patch
 exec_filename_use.patch
+pfinet_local_port_range.patch

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]