[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1276014816.3706.137.camel@jlt3.sipsolutions.net>
Date: Tue, 08 Jun 2010 18:33:36 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Kay Sievers <kay.sievers@...y.org>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Greg KH <greg@...ah.com>, netdev <netdev@...r.kernel.org>
Subject: Re: [RFC][PATCH] Fix another namespace issue with devices assigned
to classes
On Tue, 2010-06-08 at 18:26 +0200, Kay Sievers wrote:
> >> To fix the hwsim driver core interaction, core changes will probably
> >> be needed to allow network modules to be removed while their devices
> >> are active. That's something which seems not to work for bus devices
> >> currently.
> >
> > Well it just needs to pin the module refcount from the bus and/or device
> > struct. That seems not too hard?
>
> How? If we ever get a reference of the module, it will not be able to
> be unloaded while stuff is active, right?
Hmm, true, but how does this work with class devices it has now? It
seems to work fine now. It's because we have a generic release function
there I guess?
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists