netdev
[Top] [All Lists]

Re: Zeroing interface stats?

To: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>
Subject: Re: Zeroing interface stats?
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 5 Mar 2001 21:20:22 -0800 (PST)
Cc: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxxx
In-reply-to: <3AA43B44.DE3089A2@xxxxxxxxxxxxxxxx>
References: <3AA43B44.DE3089A2@xxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Jeff Garzik writes:
 > Just spotted this code in acenic.c.  Should it be carried over to other
 > net drivers?

If the behavior is correct, no.
If the behavior is incorrect, no.

Never do something generic in every driver, do it in one place
and be done with it :-)

Someone needs to check out the RFCs wrt. the points about SNMP
made by Jamal.

Later,
David S. Miller
davem@xxxxxxxxxx

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