net: stmmac: Fix bad RX timestamp extraction

[ Upstream commit a176245699 ]

As noted in dwmac4_wrback_get_rx_timestamp_status the timestamp is found
in the context descriptor following the current descriptor. However the
current code looks for the context descriptor in the current
descriptor, which will always fail.

Signed-off-by: Fredrik Hallenberg <megahallon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fredrik Hallenberg 2017-12-18 23:34:00 +01:00 • committed by Greg Kroah-Hartman
commit 11be1c24a6
5 changed files with 8 additions and 6 deletions