android_kernel_samsung_msm8976/drivers/net/ethernet/sfc
Edward Cree 43800d3eed sfc: check for NULL efx->ptp_data in efx_ptp_event
[ Upstream commit 8f355e5cee63c2c0c145d8206c4245d0189f47ff ]

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: Edward Cree <ecree@solarflare.com>
Acked-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-23 21:38:10 -07:00
..
Kconfig
Makefile
bitfield.h
efx.c
efx.h
enum.h
ethtool.c
falcon.c
falcon_boards.c
falcon_xmac.c
filter.c
filter.h
io.h
mcdi.c
mcdi.h
mcdi_mac.c
mcdi_mon.c
mcdi_pcol.h
mcdi_phy.c
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h
nic.c
nic.h
phy.h
ptp.c
qt202x_phy.c
regs.h
rx.c
selftest.c
selftest.h
siena.c
siena_sriov.c
spi.h
tenxpress.c
tx.c
txc43128_phy.c
vfdi.h
workarounds.h