From: Edward Cree Date: Tue, 25 Feb 2014 13:17:59 +0000 (+0000) Subject: sfc: check for NULL efx->ptp_data in efx_ptp_event X-Git-Tag: v3.14-rc6~30^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f355e5cee63c2c0c145d8206c4245d0189f47ff;p=pandora-kernel.git 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: Edward Cree Acked-by: Shradha Shah Signed-off-by: David S. Miller --- Reading git-diff-tree failed