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>
authored by Michael Chan and committed by David S. Miller 13 years ago 0f566b20 091f0ea3