Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310773
b: refs/heads/master
c: 3f16da5
h: refs/heads/master
i:
  310771: 3fa3245
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jun 11, 2012
1 parent a3fa612 commit e34a5c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: e30478598a8476d02e3b00caa89ce1a3b1dad54b
refs/heads/master: 3f16da51b0e533871d22a29682f3c3969d4f7e22
10 changes: 5 additions & 5 deletions trunk/drivers/net/ethernet/nxp/lpc_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,16 +946,16 @@ static void __lpc_handle_xmit(struct net_device *ndev)
/* Update stats */
ndev->stats.tx_packets++;
ndev->stats.tx_bytes += skb->len;

/* Free buffer */
dev_kfree_skb_irq(skb);
}
dev_kfree_skb_irq(skb);

txcidx = readl(LPC_ENET_TXCONSUMEINDEX(pldat->net_base));
}

if (netif_queue_stopped(ndev))
netif_wake_queue(ndev);
if (pldat->num_used_tx_buffs <= ENET_TX_DESC/2) {
if (netif_queue_stopped(ndev))
netif_wake_queue(ndev);
}
}

static int __lpc_handle_recv(struct net_device *ndev, int budget)
Expand Down

0 comments on commit e34a5c9

Please sign in to comment.