]> git.kernelconcepts.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:36:54 +0000 (11:36 -0700)
commit02a074766a0a8d1afd26f476b73422c08e34cbc8
tree1f6ec457e3af3676728dec7ed8f3dfd4ed82ccec
parent98d2de6a9f5b49bbcb356084f235e026bd902885
[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/inet_connection_sock.c
net/ipv4/tcp.c