Thread (12 messages) 12 messages, 5 authors, 2011-04-29

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

From: Jan Beulich <hidden>
Date: 2011-04-29 07:41:10
Also in: bridge

quoted
quoted
On 29.04.11 at 09:25, David Miller [off-list ref] wrote:
From: "Jan Beulich" <redacted>
Date: Fri, 29 Apr 2011 08:21:14 +0100
quoted
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 <redacted>
Cc: Jeff Mahoney <redacted>
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.
You talk of rmmod on the very module, but the issue is about
modprobe -r on a dependent module. I cannot believe you consider
it correct that *implicit* unloading of bridge.ko should happen when
bridges are configured.

If the solution proposed isn't satisfactory, can you suggest a better
alternative still serving the purpose?

Jan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help