commit | 0f566b208b41918053b2e67399673aaec02dde5d | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Sun Jul 29 19:15:44 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 29 23:18:31 2012 -0700 |
tree | b07f2bcab010460c8a47272713abc95cc54395b8 | |
parent | 091f0ea30074bc43f9250961b3247af713024bc6 [diff] |
tg3: Fix race condition in tg3_get_stats64() Spinlock should be taken before checking for tp->hw_stats. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>