From: Ben Hutchings Date: Thu, 29 Jan 2009 18:00:07 +0000 (+0000) Subject: sfc: Replace stats_enabled flag with a disable count X-Git-Tag: v2.6.29-rc4~86^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1974cc205e63cec4a17a6b3fca31fa4240ded77e;p=pandora-kernel.git sfc: Replace stats_enabled flag with a disable count Currently we use a spin-lock to serialise statistics fetches and also to inhibit them for short periods of time, plus a flag to enable/disable statistics fetches for longer periods of time, during online reset. This was apparently insufficient to deal with the several reasons for stats being disabled. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed