From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jdl.com (jdl.com [208.123.74.7]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8076DB7B7A for ; Fri, 6 Nov 2009 01:41:10 +1100 (EST) To: avorontsov@ru.mvista.com Subject: Re: [PATCH RFC] gianfar: Make polling safe with IRQs disabled In-reply-to: <20091105142028.GB17171@oksana.dev.rtsoft.ru> References: <20091104225711.GA30844@oksana.dev.rtsoft.ru> <20091105142028.GB17171@oksana.dev.rtsoft.ru> Date: Thu, 05 Nov 2009 08:41:06 -0600 From: Jon Loeliger Message-Id: Cc: linuxppc-dev@ozlabs.org, Jason Wessel , Andy Fleming , David Miller , netdev@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > Hm, then I'd better remove the #ifdef CONFIG_NETPOLL. > > Interestingly though, why conn_track does the polling with irqs > disabled, could be a bug in the conn_track? Because pretty much > drivers assume that polling is called with IRQs enabled. > > If it's easily reproducible, could you replace the printk() with > WARN_ON(1) and post the backtrace? Or I can try to reproduce the > issue if you tell me how. > > Thanks! Yeah, I can reproduce it. I'll try and get that for you. jdl