Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0f566b20 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller
Browse files

tg3: Fix race condition in tg3_get_stats64()



Spinlock should be taken before checking for tp->hw_stats.

Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 091f0ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment