> > > 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.
It cannot produce a warning message via rcm_log_message()? -- meem _______________________________________________ networking-discuss mailing list [email protected]
