[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090325.170515.175107737.davem@davemloft.net>
Date: Wed, 25 Mar 2009 17:05:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: adam_richter2004@...oo.com
Cc: netdev@...r.kernel.org, berkley@...wustl.edu
Subject: Re: 2.6.29 forcedeth hang W/O NAPI enabled
From: Adam Richter <adam_richter2004@...oo.com>
Date: Wed, 25 Mar 2009 16:24:47 -0700 (PDT)
> When I can find some time, I plan to try to narrow the problem
> with git bisect, but that may not be today.
We're pretty sure we know exactly what commit causes this.
Can you try playing with a patch Jarek P. just posted in
the thread where this bug is being discussed? (Subject:
Revert "gro: Fix legacy path napi_complete crash"):
diff --git a/net/core/dev.c b/net/core/dev.c
index e3fe5c7..cf53c24 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2589,7 +2589,11 @@ static int process_backlog(struct napi_struct *napi, int quota)
skb = __skb_dequeue(&queue->input_pkt_queue);
if (!skb) {
local_irq_enable();
- napi_complete(napi);
+ napi_gro_flush(napi);
+ local_irq_disable();
+ if (skb_queue_empty(&queue->input_pkt_queue))
+ __napi_complete(napi);
+ local_irq_enable();
goto out;
}
local_irq_enable();
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists