[TCP]: Congestion control API update.
[deliverable/linux.git] / net / ipv4 / tcp_output.c
index 3a60aea744ae23d74b25f500e97dbc58434f89e8..e70a6840cb6483c2fbfd03249c03413a6a6500f5 100644 (file)
@@ -409,7 +409,7 @@ static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
        /* If congestion control is doing timestamping, we must
         * take such a timestamp before we potentially clone/copy.
         */
-       if (icsk->icsk_ca_ops->rtt_sample)
+       if (icsk->icsk_ca_ops->flags & TCP_CONG_RTT_STAMP)
                __net_timestamp(skb);
 
        if (likely(clone_it)) {
This page took 0.028285 seconds and 5 git commands to generate.