diff options
author | Eric Dumazet <edumazet@google.com> | 2017-03-22 08:10:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-22 15:39:42 -0700 |
commit | 15bb7745e94a665caf42bfaabf0ce062845b533b (patch) | |
tree | 47e25470f2814b8baa614b09409747ebc8104359 /net/ipv4/udp_tunnel.c | |
parent | 1d2a6a5e4bf2921531071fcff8538623dce74efa (diff) | |
download | linux-15bb7745e94a665caf42bfaabf0ce062845b533b.tar.gz linux-15bb7745e94a665caf42bfaabf0ce062845b533b.tar.bz2 linux-15bb7745e94a665caf42bfaabf0ce062845b533b.zip |
tcp: initialize icsk_ack.lrcvtime at session start time
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>
Diffstat (limited to 'net/ipv4/udp_tunnel.c')
0 files changed, 0 insertions, 0 deletions