[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1336663107.12504.155.camel@edumazet-glaptop>
Date: Thu, 10 May 2012 17:18:27 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Sasikantha babu <sasikanth.v19@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>,
Jiri Pirko <jpirko@...hat.com>,
Ben Hutchings <bhutchings@...arflare.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: device - added support of clearing device
statistics
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@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists