Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757255AbXLKX1w (ORCPT ); Tue, 11 Dec 2007 18:27:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752376AbXLKX1l (ORCPT ); Tue, 11 Dec 2007 18:27:41 -0500 Received: from rv-out-0910.google.com ([209.85.198.189]:37627 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbXLKX1k (ORCPT ); Tue, 11 Dec 2007 18:27:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O+BvKY2bYAfl32FHpzMv5u3C+2jQevBPBRgqPHgHBFoBDr2jSAdQ3ZhnOEv5e1UAT/IBuBjKKbPqI0sHhA98iFFbihkvxhD23BdPaibujvlxD3ejkSKW7ws1TQEkXoc9KtziqqlLkK25R3xzHTa/9VHRewcpTwjXLObyY/I1Eis= Message-ID: Date: Wed, 12 Dec 2007 08:27:39 +0900 From: "Joonwoo Park" To: "Brandeburg, Jesse" Subject: Re: [PATCH] [NET]: Fix Ooops of napi net_rx_action. Cc: "David Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, herbert@gondor.apana.org.au, "Kok, Auke-jan H" In-Reply-To: <36D9DB17C6DE9E40B059440DB8D95F5203F82FC3@orsmsx418.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001801c83bd6$2001d410$9c94fea9@jason> <20071211.023218.31965443.davem@davemloft.net> <36D9DB17C6DE9E40B059440DB8D95F5203F82FC3@orsmsx418.amr.corp.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 31 2007/12/12, Brandeburg, Jesse : > Joonwoo Park wrote: > > /* If no Tx and not enough Rx work done, exit the polling mode */ > > if ((!tx_cleaned && (work_done == 0)) || > > !netif_running(poll_dev)) { > > quit_polling: > > if (likely(adapter->itr_setting & 3)) > > e1000_set_itr(adapter); > > netif_rx_complete(poll_dev, napi); > > e1000_irq_enable(adapter); > > all drivers using NAPI in 2.6.24+ (NNAPI??) must return zero here, after > calling netif_rx_complete. netif_rx_complete plus work_done != 0 causes > a bug. > > > } > > > > return work_done; > > } > > > I'm working another patch for drivers (maybe patches) Thanks. Joonwoo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/