From: Herbert Xu Subject: Re: Fw: [Bugme-new] [Bug 4628] New: Test server hang while running rhr (network) test on RHEL4 with kernel 2.6.12-rc1-mm4 Date: Tue, 17 May 2005 07:29:57 +1000 Message-ID: <20050516212957.GA19211@gondor.apana.org.au> References: <20050516025901.4b26ccf3.akpm@osdl.org> <5fc59ff3050516104367a8d5cd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , netdev@oss.sgi.com, hejianj@cn.ibm.com, linuxppc64-dev@lists.linuxppc.org.sgi.com, anton@samba.org, jgarzik@pobox.com Return-path: To: Ganesh Venkatesan Content-Disposition: inline In-Reply-To: <5fc59ff3050516104367a8d5cd@mail.gmail.com> Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Mon, May 16, 2005 at 10:43:02AM -0700, Ganesh Venkatesan wrote: > > @@ -1708,11 +1778,15 @@ err_rx_clean_list: > > static void e100_down(struct nic *nic) > { > +#ifdef CONFIG_E100_NAPI > + /* wait here for poll to complete */ > + netif_poll_disable(nic->netdev); > +#endif Sorry, you can't do that here since you're in softirq context and netif_poll_disable may sleep. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt