mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
tg3: Fix race condition in tg3_get_stats64()
commit 0f566b208b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
27b8d8aa03
commit
787852ce0c
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue