From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: [PATCH net-next-2.6] net: Add a missing local_irq_enable() Date: Tue, 06 Apr 2010 00:41:47 +0200 Message-ID: <1270507307.9013.43.camel@edumazet-laptop> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Tom Herbert , davem@davemloft.net, netdev@vger.kernel.org To: Changli Gao Return-path: Received: from mail-bw0-f209.google.com ([209.85.218.209]:44667 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756439Ab0DEWly (ORCPT ); Mon, 5 Apr 2010 18:41:54 -0400 Received: by bwz1 with SMTP id 1so3154425bwz.21 for ; Mon, 05 Apr 2010 15:41:51 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le mardi 06 avril 2010 =C3=A0 06:23 +0800, Changli Gao a =C3=A9crit : > It seems that irq isn't enabled when breaking the loop. Please add > local_irq_enable(); > after rps_unlock(queue); Gah.. you are right, following patch needed, since David already applie= d Tom's patch. [PATCH net-next-2.6] net: Add a missing local_irq_enable() As noticed by Changli Gao, we must call local_irq_enable() after rps_unlock() Signed-off-by: Eric Dumazet --- diff --git a/net/core/dev.c b/net/core/dev.c index 74f77ca..b98ddc6 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3121,6 +3121,7 @@ static int process_backlog(struct napi_struct *na= pi, int quota) if (!skb) { __napi_complete(napi); rps_unlock(queue); + local_irq_enable(); break; } rps_unlock(queue);