Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179788
b: refs/heads/master
c: 3469242
h: refs/heads/master
v: v3
  • Loading branch information
Jiajun Wu authored and David S. Miller committed Jan 19, 2010
1 parent dcf08a7 commit b032e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 4f9c85a1b03bfa5c0a0d8488a3a7766f3c9fb756
refs/heads/master: 34692421bc7d6145ef383b014860f4fde10b7505
5 changes: 2 additions & 3 deletions trunk/drivers/net/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3279,13 +3279,12 @@ static int ucc_geth_tx(struct net_device *dev, u8 txQ)
/* Handle the transmitted buffer and release */
/* the BD to be used with the current frame */

if (bd == ugeth->txBd[txQ]) /* queue empty? */
skb = ugeth->tx_skbuff[txQ][ugeth->skb_dirtytx[txQ]];
if (!skb)
break;

dev->stats.tx_packets++;

skb = ugeth->tx_skbuff[txQ][ugeth->skb_dirtytx[txQ]];

if (skb_queue_len(&ugeth->rx_recycle) < RX_BD_RING_LEN &&
skb_recycle_check(skb,
ugeth->ug_info->uf_info.max_rx_buf_length +
Expand Down

0 comments on commit b032e27

Please sign in to comment.