]> 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)
commit8f1a6ee969f9f4d63a0c80a7aa0eaac345b36efd
tree0ccc1742dc16c8b45cd86fe5d90ac9de2986b32a
parent903bb4e44295b5de3e768b7836d12ec1c7b6fa93
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