On Fri, May 22, 2015 at 06:44:18PM +0300, Cyrill Gorcunov wrote:
> > 
> > Is it posibale to unload the venet module? Is it ok with this patch?
> 
> If venet module start using IP then no, until IP is release module will
> keep a reference via get-module (ie until VE get stopped). If only I'm
> not missing something obvious.

More precisely

veip_start
 ...
 __module_get(THIS_MODULE)

veip_stop
 ...
 module_put(THIS_MODULE)

so once VE is using venet the refs to module prevents from unloading
until ve get stopped.

        Cyrill
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to