tg3: Fix race condition in tg3_get_stats64()
Spinlock should be taken before checking for tp->hw_stats. Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录
Spinlock should be taken before checking for tp->hw_stats. Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>