[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130829.151205.2070859347984247313.davem@davemloft.net>
Date: Thu, 29 Aug 2013 15:12:05 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: avagin@...nvz.org
Cc: netdev@...r.kernel.org, gorcunov@...nvz.org,
linux-kernel@...r.kernel.org, xemul@...allels.com,
eric.dumazet@...il.com, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: [PATCH] tcp: initialize rcv_tstamp for restored sockets
From: Andrey Vagin <avagin@...nvz.org>
Date: Tue, 27 Aug 2013 12:20:40 +0400
> From: Andrew Vagin <avagin@...nvz.org>
>
> u32 rcv_tstamp; /* timestamp of last received ACK */
>
> Its value used in tcp_retransmit_timer, which closes socket
> if the last ack was received more then TCP_RTO_MAX ago.
>
> Currently rcv_tstamp is initialized to zero and if tcp_retransmit_timer
> is called before receiving a first ack, the connection is closed.
>
> This patch initializes rcv_tstamp to a timestamp, when a socket was
> restored.
>
> Reported-by: Cyrill Gorcunov <gorcunov@...nvz.org>
> Signed-off-by: Andrey Vagin <avagin@...nvz.org>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists