patch-2.1.131 linux/net/ipv4/tcp_ipv4.c

Next file: linux/scripts/mkdep.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.130/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -265,7 +265,7 @@
 	struct tcp_bind_bucket *tb;
 	int low = sysctl_local_port_range[0];
 	int high = sysctl_local_port_range[1];
-	int remaining = high - low;
+	int remaining = high - low + 1;
 	int rover;
 
 	SOCKHASH_LOCK();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov