From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 29 Apr 2011 00:25:30 -0700 (PDT) Message-Id: <20110429.002530.112581952.davem@davemloft.net> From: David Miller In-Reply-To: <4DBA830A020000780003ED5D@vpn.id2.novell.com> References: <4DBA830A020000780003ED5D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH] bridge: Module use count must be updated as bridges are created/destroyed List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: JBeulich@novell.com Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, jeffm@suse.com From: "Jan Beulich" Date: Fri, 29 Apr 2011 08:21:14 +0100 > Otherwise 'modprobe -r' on a module having a dependency on bridge will > implicitly unload bridge, bringing down all connectivity that was using > bridges. > > Signed-off-by: Jan Beulich > Cc: Jeff Mahoney All network device drivers behave exactly the same way, when you rmmod the thing we unconfigure all the routes, addresses, etc. going through that device and let you unload it. And this behavior is very much intentional. Don't add an exception here.