aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-14 08:01:33 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-14 08:01:33 -0400
commitdad1e54b121d93ed47690d77736af63d3f11d657 (patch)
tree36fdd29537e43bbb4f36252e010a591ae6fe20bc /drivers/net/e1000e/netdev.c
parent1253332f75f3774cc84d0b7693152656848901f9 (diff)
parent0110d6f22f392f976e84ab49da1b42f85b64a3c5 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/pcmcia/smc91c92_cs.c drivers/net/virtio_net.c
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 38390b5bfd73..1bd581eedd06 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -664,6 +664,8 @@ static bool e1000_clean_tx_irq(struct e1000_adapter *adapter)
664 i = 0; 664 i = 0;
665 } 665 }
666 666
667 if (i == tx_ring->next_to_use)
668 break;
667 eop = tx_ring->buffer_info[i].next_to_watch; 669 eop = tx_ring->buffer_info[i].next_to_watch;
668 eop_desc = E1000_TX_DESC(*tx_ring, eop); 670 eop_desc = E1000_TX_DESC(*tx_ring, eop);
669 } 671 }