[Bridge] [PATCH] bridge: Module use count must be updated as bridges are created/destroyed

David Miller davem at davemloft.net
Fri Apr 29 00:25:30 PDT 2011


From: "Jan Beulich" <JBeulich at novell.com>
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 <jbeulich at novell.com>
> Cc: Jeff Mahoney <jeffm at suse.com>

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.



More information about the Bridge mailing list