aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.sfo1.dsl.speakeasy.net>2006-05-25 19:11:14 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-18 00:26:16 -0400
commit15986e1aadbbf40a331cddd0470bb434d156431d (patch)
treebcfa9d6d58fbf89184a951c4738d9d3ec8cae0d5 /net/ipv4/tcp_input.c
parent11dc1f36a6701b502ecb695f308aae46ede8bac6 (diff)
[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>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index c6d62f0a9966..6d167889a4b0 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -3931,8 +3931,6 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
3931 tp->rcv_nxt == tp->rcv_wup) 3931 tp->rcv_nxt == tp->rcv_wup)
3932 tcp_store_ts_recent(tp); 3932 tcp_store_ts_recent(tp);
3933 3933
3934 tcp_rcv_rtt_measure_ts(sk, skb);
3935
3936 /* We know that such packets are checksummed 3934 /* We know that such packets are checksummed
3937 * on entry. 3935 * on entry.
3938 */ 3936 */