From: Wei Yongjun <[EMAIL PROTECTED]>
Date: Thu, 06 Jul 2006 04:01:18 -0400

> -     TCP_INC_STATS(TCP_MIB_OUTSEGS);
> +     if (!(tcb->sacked & TCPCB_LOST))
> +             TCP_INC_STATS(TCP_MIB_OUTSEGS);

This test is not accurate enough.  For example, timer based
retransmits will not set the TCPCB_LOST bit.

I'm tempted to say to pass a flag to tcp_transmit_skb()
which says whether it is a retransmit or not, but that
function already takes way too many arguments.
-
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

Reply via email to