]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: tcp: refresh tcp_mstamp for compressed ack in timer
authorMenglong Dong <menglong8.dong@gmail.com>
Thu, 3 Oct 2024 08:22:31 +0000 (16:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 7 Oct 2024 23:01:39 +0000 (16:01 -0700)
commit269084f748524fa1a3fb8eb530eb70f77e7c3e4a
treee12f296346444b9ca90648a340c3f86b229df0b1
parent8b641b5e4c782464c8818a71b443eeef8984bf34
net: tcp: refresh tcp_mstamp for compressed ack in timer

For now, we refresh the tcp_mstamp for delayed acks and keepalives, but
not for the compressed ack in tcp_compressed_ack_kick().

I have not found out the effact of the tcp_mstamp when sending ack, but
we can still refresh it for the compressed ack to keep consistent.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241003082231.759759-1-dongml2@chinatelecom.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_timer.c