aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-01-23 03:31:06 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-23 03:31:06 -0500
commit51c24aaacaea90c8e87f1dec75a2ac7622b593f8 (patch)
tree9f54936c87764bef75e97395cb56b7d1e0df24c6 /drivers/net/ucc_geth.c
parent4276e47e2d1c85a2477caf0d22b91c4f2377fba8 (diff)
parent6be325719b3e54624397e413efd4b33a997e55a3 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 6750de10a087..225f65812f2e 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3286,13 +3286,12 @@ static int ucc_geth_tx(struct net_device *dev, u8 txQ)
3286 /* Handle the transmitted buffer and release */ 3286 /* Handle the transmitted buffer and release */
3287 /* the BD to be used with the current frame */ 3287 /* the BD to be used with the current frame */
3288 3288
3289 if (bd == ugeth->txBd[txQ]) /* queue empty? */ 3289 skb = ugeth->tx_skbuff[txQ][ugeth->skb_dirtytx[txQ]];
3290 if (!skb)
3290 break; 3291 break;
3291 3292
3292 dev->stats.tx_packets++; 3293 dev->stats.tx_packets++;
3293 3294
3294 skb = ugeth->tx_skbuff[txQ][ugeth->skb_dirtytx[txQ]];
3295
3296 if (skb_queue_len(&ugeth->rx_recycle) < RX_BD_RING_LEN && 3295 if (skb_queue_len(&ugeth->rx_recycle) < RX_BD_RING_LEN &&
3297 skb_recycle_check(skb, 3296 skb_recycle_check(skb,
3298 ugeth->ug_info->uf_info.max_rx_buf_length + 3297 ugeth->ug_info->uf_info.max_rx_buf_length +