Re: 2.6.25-rc8: FTP transfer errors

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: YOSHIFUJI Hideaki /
Date: Thursday, April 10, 2008 - 7:59 pm

In article <47FEB0E3.8080507@rtr.ca> (at Thu, 10 Apr 2008 20:29:23 -0400), Mark Lord <lkml@rtr.ca> says:


Please try this, from net-2.6.26 tree.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

----
From 8d9f1744cab50acb0c6c9553be533621e01f178b Mon Sep 17 00:00:00 2001
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Date: Fri, 21 Mar 2008 04:12:54 -0700
Subject: [PATCH] [NETNS][IPV6] tcp - assign the netns for timewait sockets

Copy the network namespace from the socket to the timewait socket.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/ipv4/inet_timewait_sock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c
index 876169f..717c411 100644
--- a/net/ipv4/inet_timewait_sock.c
+++ b/net/ipv4/inet_timewait_sock.c
@@ -124,6 +124,7 @@ struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, const int stat
 		tw->tw_hash	    = sk->sk_hash;
 		tw->tw_ipv6only	    = 0;
 		tw->tw_prot	    = sk->sk_prot_creator;
+		tw->tw_net          = sk->sk_net;
 		atomic_set(&tw->tw_refcnt, 1);
 		inet_twsk_dead_node_init(tw);
 		__module_get(tw->tw_prot->owner);
-- 
1.4.4.4

-- 
YOSHIFUJI Hideaki @ USAGI Project  <yoshfuji@linux-ipv6.org>
GPG-FP  : 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 5:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 5:24 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 5:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 5:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 5:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 5:39 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Thu Apr 10, 5:56 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 6:08 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 6:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, YOSHIFUJI Hideaki / , (Thu Apr 10, 7:59 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Thu Apr 10, 11:40 pm)
Re: 2.6.25-rc8: FTP transfer errors, Pavel Emelyanov, (Fri Apr 11, 12:50 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 6:19 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 7:35 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 7:59 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 8:18 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 11:07 am)
Re: 2.6.25-rc8: FTP transfer errors, Valdis.Kletnieks, (Fri Apr 11, 12:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Valdis.Kletnieks, (Fri Apr 11, 12:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 2:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 3:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 3:25 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 3:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 3:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 3:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 4:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 10:37 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Sat Apr 12, 12:06 am)
Re: 2.6.25-rc8: FTP transfer errors, Willy Tarreau, (Sat Apr 12, 1:44 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Sat Apr 12, 2:49 am)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 11:15 am)
Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP tra ..., Rafael J. Wysocki, (Sun Apr 13, 11:40 am)
Re: 2.6.25-rc8: FTP transfer errors, Sergio Luis, (Sun Apr 13, 11:51 am)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 12:24 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP ..., Rafael J. Wysocki, (Sun Apr 13, 12:27 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 12:47 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP ..., Rafael J. Wysocki, (Sun Apr 13, 1:33 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 1:35 pm)
Re: Reporting bugs and bisection, Stephen Clark, (Sun Apr 13, 3:24 pm)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Sun Apr 13, 3:41 pm)
Re: Reporting bugs and bisection, david, (Sun Apr 13, 4:51 pm)
Re: Reporting bugs and bisection, Jakub Narebski, (Sun Apr 13, 5:36 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Sun Apr 13, 9:39 pm)
Re: Reporting bugs and bisection, Al Viro, (Sun Apr 13, 10:39 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Sun Apr 13, 11:24 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 11:39 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 11:43 pm)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 12:23 am)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 12:43 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 1:04 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 1:30 am)
Re: Reporting bugs and bisection, Christoph Hellwig, (Mon Apr 14, 2:06 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 2:26 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 2:46 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 2:58 am)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 3:00 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 3:15 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 3:16 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 3:29 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 3:41 am)
Re: Reporting bugs and bisection, Adrian Bunk, (Mon Apr 14, 5:08 am)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 7:43 am)
Re: Reporting bugs and bisection, James Morris, (Mon Apr 14, 8:54 am)
Re: Reporting bugs and bisection, Roman Shaposhnik, (Mon Apr 14, 10:35 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 10:51 am)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 11:24 am)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 12:13 pm)
Re: Reporting bugs and bisection, Ilpo Järvinen, (Mon Apr 14, 12:30 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 1:38 pm)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 3:01 pm)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 3:18 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 4:05 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 9:55 pm)
Re: Reporting bugs and bisection, Bill Fink, (Mon Apr 14, 10:25 pm)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 2:33 am)
Re: Reporting bugs and bisection, Michael Kerrisk, (Tue Apr 15, 2:54 am)
Work WAS(Re: Reporting bugs and bisection, jamal, (Tue Apr 15, 6:18 am)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 7:04 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Tue Apr 15, 1:51 pm)
Re: about bisections, David Miller, (Tue Apr 15, 3:30 pm)
Re: about bisections, Ingo Molnar, (Tue Apr 15, 3:48 pm)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 7:34 pm)
Re: Reporting bugs and bisection, david, (Tue Apr 15, 8:53 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Tue Apr 15, 9:29 pm)
Re: Reporting bugs and bisection, David Newall, (Wed Apr 16, 2:06 am)
Re: Reporting bugs and bisection, Andi Kleen, (Wed Apr 16, 4:02 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Wed Apr 16, 5:13 am)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 5:15 am)
Re: Reporting bugs and bisection, Stephen Clark, (Wed Apr 16, 5:41 am)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 6:26 am)
Re: Reporting bugs and bisection, Andrew Morton, (Wed Apr 16, 12:02 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 12:39 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 12:43 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 12:55 pm)
Re: Reporting bugs and bisection, Alexey Dobriyan, (Wed Apr 16, 12:58 pm)
Re: Reporting bugs and bisection, Arjan van de Ven, (Wed Apr 16, 1:01 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Wed Apr 16, 1:04 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 1:16 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 1:53 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 2:05 pm)
Re: Reporting bugs and bisection, Jesper Juhl, (Wed Apr 16, 2:17 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 2:25 pm)
Re: Reporting bugs and bisection, J. Bruce Fields, (Thu Apr 17, 6:50 am)
Re: Reporting bugs and bisection, Adrian Bunk, (Thu Apr 17, 8:26 am)
Re: Reporting bugs and bisection, David Newall, (Thu Apr 17, 10:04 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Thu Apr 17, 12:09 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 12:35 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Thu Apr 17, 12:57 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 1:16 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 1:38 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 1:53 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 2:01 pm)