commit | 9a4f4f3a894ff4487f5597b7aabba9432b238292 | [log] [tgz] |
---|---|---|
author | Madalin Bucur <madalin.bucur@nxp.com> | Thu Oct 31 16:37:50 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 12:13:33 2019 -0700 |
tree | 96b4290292b398153adb45bd5bb82a4c4b7a6bfb | |
parent | c70fd3182caef014e6c628b412f81aa57a3ef9e4 [diff] |
dpaa_eth: avoid timestamp read on error paths The dpaa_cleanup_tx_fd() function is called by the frame transmit confirmation callback but also on several error paths. This function is reading the transmit timestamp value. Avoid reading an invalid timestamp value on the error paths. Fixes: 4664856e9ca2 ("dpaa_eth: add support for hardware timestamping") Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>