From: Vladislav Zolotarov Date: Wed, 21 Jul 2010 05:59:14 +0000 (+0000) Subject: bnx2x: Protect statistics ramrod and sequence number X-Git-Tag: v2.6.35~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0996faeec8b3ab5bda65074c274bc67baf13501;p=pandora-kernel.git bnx2x: Protect statistics ramrod and sequence number Bug fix: Protect statistics ramrod sending code and a statistics counter update with a spinlock. Otherwise there was a race condition that would allow sending a statistics ramrods with the same sequence number or with sequence numbers not in a natural order, which would cause a FW assert. 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