Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
tg3: Avoid NULL pointer dereference in netif_device_attach()
Similar to commit<1b0ff89852d7>("tg3: Avoid NULL pointer dereference in tg3_io_error_detected()")
This patch avoids NULL pointer dereference add a check for netdev being NULL on tg3_resume().
Signed-off-by: Defang Bo <bodefang@126.com>- Loading branch information