Re: [PATCH 1/1] When timestamping is enabled, stmmac_tx_clean will call stmmac_get_tx_hwtstamp to get tx TS. It's possible that skb is NULL because there are other network frames that use several descriptors. So we must return immediately in stmmac_get_tx_hwtstamp if skb is NULL to avoid system crash.

From: Hannes Frederic Sowa
Date: Sun Jan 12 2014 - 02:21:18 EST


On Sun, Jan 12, 2014 at 10:01:35AM +0800, damuzi000 wrote:
>
> Signed-off-by: damuzi000 <damuzi000@xxxxxxxxx>

Please use real names in submissions.

Thanks,

Hannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/