]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7c1c7308592f0f261836a96e37b7835ffd10d85b
tree0ccc1742dc16c8b45cd86fe5d90ac9de2986b32a
parent69e996c58a35db9ca79b3f021a15bcd22202e1c0
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