From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757125AbZCWJU7 (ORCPT ); Mon, 23 Mar 2009 05:20:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752332AbZCWJUo (ORCPT ); Mon, 23 Mar 2009 05:20:44 -0400 Received: from qw-out-2122.google.com ([74.125.92.27]:2154 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752099AbZCWJUn (ORCPT ); Mon, 23 Mar 2009 05:20:43 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=t9bPpZpXMfDuEk3yhBw1GADt3hmY4Ixa++ytXBRZTVMDKuGfBacHUfoeybvZUbe4w1 zzDvDO2IORbXiW0jZ3ckEiC/xsnp8J5+jrJY+AxBOC/Q3wm6XqYEwQTRUOnxAhGFaFuB tZxHUHGt6rqWgohvz4L/gNZa+KajHvBwhnugY= Date: Mon, 23 Mar 2009 09:20:33 +0000 From: Jarek Poplawski To: David Miller Cc: mpm@selenic.com, marcin.slusarz@gmail.com, netdev@vger.kernel.org, k-keiichi@bx.jp.nec.com, stable@kernel.org, rjw@sisk.pl, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netconsole: fix BUG during net device "upping" Message-ID: <20090323092033.GA5596@ff.dom.local> References: <20090323080455.GA4976@ff.dom.local> <20090323.010541.94308473.davem@davemloft.net> <20090323081158.GB4976@ff.dom.local> <20090323.011508.140910146.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090323.011508.140910146.davem@davemloft.net> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2009 at 01:15:08AM -0700, David Miller wrote: > From: Jarek Poplawski > Date: Mon, 23 Mar 2009 08:11:58 +0000 > > > On Mon, Mar 23, 2009 at 01:05:41AM -0700, David Miller wrote: > > > From: Jarek Poplawski > > > Date: Mon, 23 Mar 2009 08:04:55 +0000 > > > > > > > What is the rationale of this decision? printk is a basic tool, > > > > especially designed to work in as many places as possible, and > > > > netconsole is rather something secondary (sorry Matt)?! > > > > > > And this basic tool cannot work from the drivers ->open() method. > > > > And in any function used in the drivers ->open(). BTW, with Marcin's > > patch it can... > > This issue came up before, and after we added the netif_running() > check we hit this IIF_UP one and at the time we looked into it > and the result we came up with is that you just can't do it in > a network driver's ->open() > > Look up the thread, I'm too lazy... > So I try to make appear I'm less lazy, and read this one thread only, but can't see this IIF_UP being mentioned: http://marc.info/?t=123306255900001&r=1&w=2 Jarek P.