ipg: fix queue stop condition in the xmit handler

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, January 18, 2008 - 3:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=dafdec...
Commit:     dafdec746f8c468bebf6b99f32a392ee6c8d0212
Parent:     0da1b995aee447656c0eb77e4e32468e37f868a3
Author:     Francois Romieu <romieu@fr.zoreil.com>
AuthorDate: Thu Jan 10 23:45:05 2008 +0100
Committer:  Francois Romieu <romieu@fr.zoreil.com>
CommitDate: Thu Jan 17 23:35:09 2008 +0100

    ipg: fix queue stop condition in the xmit handler
    
    Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
---
 drivers/net/ipg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c
index 9752902..b234b29 100644
--- a/drivers/net/ipg.c
+++ b/drivers/net/ipg.c
@@ -1994,7 +1994,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
 	ipg_w32(IPG_DC_TX_DMA_POLL_NOW, DMA_CTRL);
 
 	if (sp->tx_current == (sp->tx_dirty + IPG_TFDLIST_LENGTH))
-		netif_wake_queue(dev);
+		netif_stop_queue(dev);
 
 	spin_unlock_irqrestore(&sp->lock, flags);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ipg: fix queue stop condition in the xmit handler, Linux Kernel Mailing ..., (Fri Jan 18, 3:59 pm)