mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
[TCP]: tcp_rcv_rtt_measure_ts() call in pure-ACK path is superfluous
We only want to take receive RTT mesaurements for data bearing frames, here in the header prediction fast path for a pure-sender, we know that we have a pure-ACK and thus the checks in tcp_rcv_rtt_mesaure_ts() will not pass. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
11dc1f36a6
commit
15986e1aad
@ -3931,8 +3931,6 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
|
|||||||
tp->rcv_nxt == tp->rcv_wup)
|
tp->rcv_nxt == tp->rcv_wup)
|
||||||
tcp_store_ts_recent(tp);
|
tcp_store_ts_recent(tp);
|
||||||
|
|
||||||
tcp_rcv_rtt_measure_ts(sk, skb);
|
|
||||||
|
|
||||||
/* We know that such packets are checksummed
|
/* We know that such packets are checksummed
|
||||||
* on entry.
|
* on entry.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user