From: Dmitry Kravkov Date: Sun, 13 Nov 2011 04:34:30 +0000 (+0000) Subject: bnx2x: prevent race in statistics flow X-Git-Tag: v3.3-rc1~182^2~615 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a025f49d3f2f2f39b474af360c81a5587b41657;p=pandora-kernel.git bnx2x: prevent race in statistics flow The race may cause access of registers while MAC hw block is in reset state. As a result syslog will show error messages. We can prevent this by using state from local variable. Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed