Print this page
Revert exi_zone to exi_zoneid, and install exi_ne backpointer
NFS Auth per-zone needs better cleanup
curzone reality check and teardown changes to use the RIGHT zone
@@ -279,10 +279,13 @@
list_destroy(&nag->refreshq_queue);
cv_destroy(&nag->refreshq_cv);
mutex_destroy(&nag->refreshq_lock);
mutex_destroy(&nag->mountd_lock);
+ /* Extra cleanup. */
+ if (nag->mountd_dh != NULL)
+ door_ki_rele(nag->mountd_dh);
kmem_free(nag, sizeof (*nag));
}
/*
* Convert the address in a netbuf to
@@ -873,10 +876,11 @@
avl_index_t where; /* used for avl_find()/avl_insert() */
ASSERT(cr != NULL);
+ ASSERT3P(curzone->zone_id, ==, exi->exi_zoneid);
nag = nfsauth_get_zg();
/*
* Now check whether this client already
* has an entry for this flavor in the cache