Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0087a36 authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

fec: fix race in transmit time stamping.

parent 4ff75b7c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -324,10 +324,10 @@ fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev)

	fep->cur_tx = bdp;

	spin_unlock_irqrestore(&fep->hw_lock, flags);

	skb_tx_timestamp(skb);

	spin_unlock_irqrestore(&fep->hw_lock, flags);

	return NETDEV_TX_OK;
}