Subject: Re: [PATCH] Optimize loopback stats

From: Nivedita Singhvi <[email-masked]>
Date: Tue, 15 Mar 2005 16:18:42 -0800

> Hmm, I see the following in your patch:
> 
> +               stats->rx_bytes   += lb_stats->rx_tx_bytes;
> +               stats->tx_bytes    = stats->rx_bytes;
> 
> Doesn't that mean RX is now twice what it should be
> and so is TX? They are separately reported, but if
> so, their real value should be half of rx_tx_bytes
> each, correct?

Ah, just beat me silly with a cluestick.
I see what you're doing now..it's fine.

thanks,
Nivedita