Peter Memishian wrote:
>  > >  > > Thanks. The updated webrev is in the same location 
>  > >  > > http://cr.opensolaris.org/~vassun08/6793859-commentsfix/
>  > >
>  > > So now we just silently fail to an the RCM module if dladm_open() fails?
>  > > That doesn't seem ideal.
>  > >
>  > >   
>  > We could print a debug message saying that the dladm handle could not be 
>  > opened and mod_init failed. The rcm_daemon would still be running even 
>  > if a modules fails to initialize and needs to be restarted to do 
>  > anything useful.
>
> I'd think it should be more than a debug message.
>
>   
rcm_mod_init does not return any error code. When anything fails, it 
simply returns NULL. This is what all the modules do (e.g. 
cmd/rcm_daemon/common/svm_rcm.c).
I dont know what else rcm_mod_init can do other than returning NULL in 
case of failure.
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to