Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
@ -3286,13 +3286,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 +
|
||||
|
Reference in New Issue
Block a user