]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] TCP: Use default 32768-61000 outgoing port range in all cases.
authorMark Glines <mark@glines.org>
Thu, 7 Jun 2007 06:01:05 +0000 (23:01 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:37:13 +0000 (11:37 -0700)
commit9d8be79d913f3e13cc8074f02e999b860ce06862
tree303e21f9795b944fee6d75a277f962ee63550d13
parentf30212955076413ba4e9adb7054dabdf0bb6df96
[PATCH] TCP: Use default 32768-61000 outgoing port range in all cases.

This diff changes the default port range used for outgoing connections,
from "use 32768-61000 in most cases, but use N-4999 on small boxes
(where N is a multiple of 1024, depending on just *how* small the box
is)" to just "use 32768-61000 in all cases".

I don't believe there are any drawbacks to this change, and it keeps
outgoing connection ports farther away from the mess of
IANA-registered ports.

Signed-off-by: Mark Glines <mark@glines.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/inet_connection_sock.c
net/ipv4/tcp.c