On Wed, 03 Oct 2007 14:58:07 -0700 (PDT) David Miller <davem@davemloft.net> wrote:This looks like a better fix. the irq_enable is needed in both cases. --- a/net/core/dev.c 2007-09-27 07:19:10.000000000 -0700 +++ b/net/core/dev.c 2007-10-03 15:03:54.000000000 -0700 @@ -2077,12 +2077,14 @@ static int process_backlog(struct napi_s local_irq_disable(); skb = __skb_dequeue(&queue->input_pkt_queue); - local_irq_enable(); if (!skb) { - napi_complete(napi); + __napi_complete(napi); + local_irq_enable(); break; } + local_irq_enable(); + dev = skb->dev; netif_receive_skb(skb); -- Stephen Hemminger <shemminger@linux-foundation.org> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andy Whitcroft | Re: 2.6.23-rc6-mm1 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Alan | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
