| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Tcp port selection for IPV6. |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Tue, 8 Feb 2005 20:38:44 -0800 |
| Cc: | yoshfuji@xxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050120164529.6d6a5f0b@xxxxxxxxxxxxxxxxx> |
| References: | <20050120164529.6d6a5f0b@xxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 20 Jan 2005 16:45:29 -0800 Stephen Hemminger <shemminger@xxxxxxxx> 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@xxxxxxxx> I've tossed this into my 2.6.12-pending tree. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 21/39] net/ipconfig: replace schedule_timeout() with msleep(), David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] NET: Fix calculation for collapsed skb size, David S. Miller |
| Previous by Thread: | Re: [PATCH 21/39] net/ipconfig: replace schedule_timeout() with msleep(), David S. Miller |
| Next by Thread: | Re: [IPSEC] Stop using dst->xfrm, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |