[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090416.175711.06577763.davem@davemloft.net>
Date: Thu, 16 Apr 2009 17:57:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brice@...i.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] myri10ge: force stats update in ethtool gstats
From: Brice Goglin <brice@...i.com>
Date: Thu, 16 Apr 2009 14:23:56 +0200
> Force a statistics update when our ethtool gstats routine
> is called. Otherwise, ethtool will continue to read stale
> stats until something forces an update by reading /proc/net/dev
>
> This requires putting a lock around the stats update to guard
> against 2 threads (one via ethtool, and one via procfs)
> updating the stats at once.
>
> Signed-off-by: Brice Goglin <brice@...i.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists