]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: do not pass timestamp to tcp_rack_detect_loss()
authorEric Dumazet <edumazet@google.com>
Tue, 25 Apr 2017 17:15:33 +0000 (10:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Apr 2017 18:44:37 +0000 (14:44 -0400)
commita1d7c6c23f8e93f05d976d3f5565c3a9cf29162f
tree0ccc1742dc16c8b45cd86fe5d90ac9de2986b32a
parentbde8256f70ad58375c75d6684d7328e819dfd31b
tcp: do not pass timestamp to tcp_rack_detect_loss()

We can use tp->tcp_mstamp as it contains a recent timestamp.

This removes a call to skb_mstamp_get() from tcp_rack_reo_timeout()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_recovery.c