Re: [PATCH] net: device - added support of clearing devicestatistics
From: Eric Dumazet
Date: Thu May 10 2012 - 11:18:30 EST
On Thu, 2012-05-10 at 20:46 +0530, Sasikantha babu wrote:
> This patch adds the support of clearing device statistics. Added new
> entry ndo_clear_stats to net_device_ops for device drivers to provide
> there own method to clear stats otherwise internal statistics structure
> is cleared.
> Signed-off-by: Sasikantha babu <sasikanth.v19@xxxxxxxxx>
This is forbidden and racy.
SNMP counters must be increasing.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/