Skip to content
Snippets Groups Projects
Commit 8f355e5c authored by Edward Cree's avatar Edward Cree Committed by David S. Miller
Browse files

sfc: check for NULL efx->ptp_data in efx_ptp_event


If we receive a PTP event from the NIC when we haven't set up PTP state
in the driver, we attempt to read through a NULL pointer efx->ptp_data,
triggering a panic.

Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Acked-by: default avatarShradha Shah <sshah@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9a9bfd03
No related branches found
No related tags found
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