Thread (3 messages) flat view 3 messages, 3 authors, 2017-03-22

Re: [PATCH net] tcp: initialize icsk_ack.lrcvtime at session start time

From: Neal Cardwell <ncardwell@google.com>
Date: 2017-03-22 18:14:29

On Wed, Mar 22, 2017 at 11:10 AM, Eric Dumazet [off-list ref] wrote:
From: Eric Dumazet <edumazet@google.com>

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>
---
Thanks, Eric!

Acked-by: Neal Cardwell <ncardwell@google.com>

neal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help