dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Richard Cochran 2011-06-19 03:31:40 +00:00 committed by David S. Miller
parent 4ff75b7cf3
commit a0087a3619
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}