[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090501.152429.110153503.davem@davemloft.net>
Date: Fri, 01 May 2009 15:24:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mpm@...enic.com
Cc: bonbons@...ux-vserver.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH, resend] netconsole: take care of NETDEV_UNREGISTER
event
From: Matt Mackall <mpm@...enic.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@...ux-vserver.org>
>
> Acked-by: Matt Mackall <mpm@...enic.com>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists