Files
linux/net/ipv4
Eric Dumazet 9e13bcef24 tcp: initialize icsk_ack.lrcvtime at session start time
[ Upstream commit 15bb7745e9 ]

icsk_ack.lrcvtime has a 0 value at socket creation time.

tcpi_last_data_recv can have bogus value if no payload is ever received.

This patch initializes icsk_ack.lrcvtime for active sessions
in tcp_finish_connect(), and for passive sessions in
tcp_create_openreq_child()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:41:22 +02:00
..
2015-08-25 13:38:50 -07:00
2016-04-27 22:48:24 -04:00
2016-10-20 14:32:22 -04:00
2016-10-20 14:32:22 -04:00
2016-04-27 22:48:23 -04:00
2017-02-26 11:10:51 +01:00
2016-09-21 00:23:01 -04:00
2017-02-18 15:11:43 +01:00
2017-03-22 12:43:32 +01:00
2016-09-21 00:23:01 -04:00
2017-03-22 12:43:34 +01:00
2016-09-01 14:09:01 -07:00
2016-06-10 23:07:49 -07:00
2016-09-21 00:23:00 -04:00
2016-10-20 14:32:22 -04:00
2016-11-24 15:32:14 -05:00
2015-09-17 17:18:37 -07:00