Vegas RTT measurement currently seems quite broken. I've identified three issues.
1) The reseting the rtt stats is for every call to cong_avoid rather than at the end of the rtt. 2) Also, timestamping is being performed after the skb clone, leading to non-sensical RTT estimates. The patch below fixes this by timestamping the original skbs before calling tcp_transmit_skb. Timestamping is now done everywhere where skb->when is set in tcp_output.c. 3) The measuring of the RTT inside tcp_cong_avoid is redundent as far as I can tell. This call is made (with the micro second resolution) just prior to the call to tcp_vegas_cong_avoid Thomas Young - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html