mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: mpm@selenic.com
Cc: bonbons@linux-vserver.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH, resend] netconsole: take care of NETDEV_UNREGISTER event
Date: Fri, 01 May 2009 15:24:29 -0700 (PDT)	[thread overview]
Message-ID: <20090501.152429.110153503.davem@davemloft.net> (raw)
In-Reply-To: <1241110115.938.1603.camel@calx>

From: Matt Mackall <mpm@selenic.com>
Date: Thu, 30 Apr 2009 11:48:35 -0500

> On Thu, 2009-04-30 at 08:45 +0200, Bruno Prémont wrote:
>> When netconsole is loaded and a network interface fades away (e.g. on
>> rmmod $interface_driver_module) the rmmod remains stuck and some locks
>> are taken that prevent any additional module loading/unloading as well
>> as interface up/down changes.
>> In addition kernel logs (and console) get flooded at 10s interval with
>> 
>> [  122.464065] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
>> [  132.704059] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
>> 
>> This patch lets netconsole take NETDEV_UNREGISTER event into account
>> and release the affected interface if it was in use.
>> 
>> Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
> 
> Acked-by: Matt Mackall <mpm@selenic.com>

Applied, thanks everyone.

      reply	other threads:[~2009-05-01 22:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 20:37 [PATCH] " Bruno Prémont
2009-04-29 20:56 ` Bruno Prémont
2009-04-29 21:44   ` David Miller
2009-04-30  6:45     ` [PATCH, resend] " Bruno Prémont
2009-04-30 16:48       ` Matt Mackall
2009-05-01 22:24         ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090501.152429.110153503.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=bonbons@linux-vserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®