netdev
[Top] [All Lists]

Re: Zeroing interface stats?

To: jgarzik@xxxxxxxxxxxxxxxx (Jeff Garzik)
Subject: Re: Zeroing interface stats?
From: kuznet@xxxxxxxxxxxxx
Date: Tue, 6 Mar 2001 19:15:40 +0300 (MSK)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3AA43B44.DE3089A2@xxxxxxxxxxxxxxxx> from "Jeff Garzik" at Mar 6, 1 04:45:02 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> Just spotted this code in acenic.c.  Should it be carried over to other
> net drivers?

Nooo!!!

It is bug. Interface statistics must not be ever reset without
interface destruction and recreation.

Alexey

<Prev in Thread] Current Thread [Next in Thread>