Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255620
b: refs/heads/master
c: 93e0ed1
h: refs/heads/master
v: v3
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 20, 2011
1 parent 6d45fe3 commit 7307cd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 570773c5801cc6c322534d6b1d1551e23664103e
refs/heads/master: 93e0ed158c15b3d3d76125de6364f8f95528c25a
5 changes: 4 additions & 1 deletion trunk/drivers/net/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,8 @@ static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
if (lp->tx_bd_tail >= TX_BD_NUM)
lp->tx_bd_tail = 0;

skb_tx_timestamp(skb);

/* Kick off the transfer */
lp->dma_out(lp, TX_TAILDESC_PTR, tail_p); /* DMA start */

Expand Down Expand Up @@ -773,7 +775,8 @@ static void ll_temac_recv(struct net_device *ndev)
skb->ip_summed = CHECKSUM_COMPLETE;
}

netif_rx(skb);
if (!skb_defer_rx_timestamp(skb))
netif_rx(skb);

ndev->stats.rx_packets++;
ndev->stats.rx_bytes += length;
Expand Down

0 comments on commit 7307cd7

Please sign in to comment.