Commit 4c3d7079 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Vignesh Raghavendra
Browse files

net: ethernet: ti: prueth: Fix a race condition in passing cut through packets



When firmware sends the cut through packet to other port, it is possible
that host receives the packet first. In this case, host receives a tx
interrupt with cut through ts stored. However driver is pushing the
packet to user space without storing the timestamp. Fix it by storing the
ts before pushing the skb to user space.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 7202f1e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment