From: Vladislav Zolotarov Date: Wed, 21 Jul 2010 05:59:01 +0000 (+0000) Subject: bnx2x: Protect a SM state change X-Git-Tag: v2.6.35~25^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13773a53faa28cf79982601b6fc9ddb0ca45f36;p=pandora-kernel.git bnx2x: Protect a SM state change Bug fix: Protect the statistics state machine state update with a spinlock. Otherwise there was a race condition that would cause the statistics to stay enabled despite the fact that they were disabled in the LINK_DOWN event handler. Signed-off-by: Vladislav Zolotarov Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed