netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: yoshfuji@linux-ipv6.org, netdev@oss.sgi.com
Subject: Re: [PATCH] Tcp port selection for IPV6.
Date: Tue, 8 Feb 2005 20:38:44 -0800	[thread overview]
Message-ID: <20050208203844.779038ca.davem@davemloft.net> (raw)
In-Reply-To: <20050120164529.6d6a5f0b@dxpl.pdx.osdl.net>

On Thu, 20 Jan 2005 16:45:29 -0800
Stephen Hemminger <shemminger@osdl.org> wrote:

> This patch makes TCP over IPV6 select ports the same way the current
> TCPv4 code does. It uses a hash function to provide a starting offset
> and a free running counter to provide seed.
> 
> This changes the port selection semantics to match TCPv4 as well.
> If the port is in use but to a different remote address, it will get
> reused. It looks like the TCPv6 code was not updated when the TCPv4
> code changed. Now the code in ipv4/tcp_ipv4.c and ipv6/tcp_ipv6.c are
> almost identical for tcp_hash_connect.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

I've tossed this into my 2.6.12-pending tree.

      parent reply	other threads:[~2005-02-09  4:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21  0:45 [PATCH] Tcp port selection for IPV6 Stephen Hemminger
2005-01-21  0:53 ` Arnaldo Carvalho de Melo
2005-01-26  6:25 ` David S. Miller
2005-02-09  4:38 ` David S. Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050208203844.779038ca.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).