aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 3a60aea744ae..e70a6840cb64 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -409,7 +409,7 @@ static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
409 /* If congestion control is doing timestamping, we must 409 /* If congestion control is doing timestamping, we must
410 * take such a timestamp before we potentially clone/copy. 410 * take such a timestamp before we potentially clone/copy.
411 */ 411 */
412 if (icsk->icsk_ca_ops->rtt_sample) 412 if (icsk->icsk_ca_ops->flags & TCP_CONG_RTT_STAMP)
413 __net_timestamp(skb); 413 __net_timestamp(skb);
414 414
415 if (likely(clone_it)) { 415 if (likely(clone_it)) {