|
Description
|
In neti_stack_fini(), this loop can be found:
LIST_FOREACH(n, &nts->nts_instances, nini_next) {
ASSERT((n->nini_flags & NSS_SHUTDOWN_ALL) != 0);
if (n->nini_instance->nin_shutdown == NULL)
continue;
if ((n->nini_flags & NSS_DESTROY_ALL) == 0)
n->nini_flags |= NSS_DESTROY_NEEDED;
}
The check for "nin_shutdown == NULL" can lead to the NSS_DESTROY_NEEDED flag not being
set when in fact it should be set. The absence of a function to call for shutdown should not impact the destroy being called (or not.)
|