Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/opencrypto



In article <Pine.NEB.4.64.1401191416060.22170%screamer.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>On Sun, 19 Jan 2014, John Nemeth wrote:
>
>> } Handled indirectly.  The MODULE_CMD_FINI calls config_cfdata_detach()
>> } which attempts to detach each device instance.  If a detach fails, then
>> } config_cfdata_detach fails, and the unload will fail.
>>
>>     Does this mean that you'll end up with some device instances
>> detached and not others?
>
>Nope.
>
>All non-zero units are prevented from unload.  And unit zero is 
>permitted only if there are no references, ie no clones.

I don't see why non-zero units are special, can you explain? Open zero
open 1, close 0, close 1. Should the close 1 unload?

christos



Home | Main Index | Thread Index | Old Index