Copy the network namespace from the socket to the timewait socket. Signed-off-by: Daniel Lezcano --- net/ipv4/inet_timewait_sock.c | 1 + 1 file changed, 1 insertion(+) Index: net-2.6.26/net/ipv4/inet_timewait_sock.c =================================================================== --- net-2.6.26.orig/net/ipv4/inet_timewait_sock.c +++ net-2.6.26/net/ipv4/inet_timewait_sock.c @@ -124,6 +124,7 @@ struct inet_timewait_sock *inet_twsk_all 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); -- -- 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