[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1362490201.4748.21.camel@zion.uk.xensource.com>
Date: Tue, 5 Mar 2013 13:30:01 +0000
From: Wei Liu <wei.liu2@...rix.com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: <wei.liu2@...rix.com>,
"xen-devel@...ts.xen.org" <xen-devel@...ts.xen.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Ian Campbell <Ian.Campbell@...rix.com>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>,
"annie.li@...cle.com" <annie.li@...cle.com>
Subject: Re: [PATCH 2/8] netback: add module unload function
On Mon, 2013-03-04 at 21:58 +0000, Stephen Hemminger wrote:
> On Fri, 15 Feb 2013 16:00:03 +0000
> Wei Liu <wei.liu2@...rix.com> wrote:
>
> > Enable users to unload netback module. Users should make sure there is not vif
> > runnig.
>
>
> Isn't it likely that some admin might be trying to cleanup or do shutdown and there
> is an ordering problem. What happens if vif's are still running?
>
> Why depend on users? You should allow it anytime and do refcounting and auto-destroy the vif's for them.
Sure, we should not depend on users. I will move my vif get/put module
patch before this one.
Wei.
--
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