mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 17:53:39 +00:00
fec: fix race in transmit time stamping.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4ff75b7cf3
commit
a0087a3619
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user