Print this page
curzone reality check and teardown changes to use the RIGHT zone

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs_auth.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_auth.c
↓ open down ↓ 866 lines elided ↑ open up ↑
 867  867  
 868  868          uid_t                   tmpuid;
 869  869          gid_t                   tmpgid;
 870  870          uint_t                  tmpngids;
 871  871          gid_t                   *tmpgids;
 872  872  
 873  873          avl_index_t             where;  /* used for avl_find()/avl_insert() */
 874  874  
 875  875          ASSERT(cr != NULL);
 876  876  
      877 +        ASSERT3P(curzone, ==, exi->exi_zone);
 877  878          nag = zone_getspecific(nfsauth_zone_key, curzone);
 878  879  
 879  880          /*
 880  881           * Now check whether this client already
 881  882           * has an entry for this flavor in the cache
 882  883           * for this export.
 883  884           * Get the caller's address, mask off the
 884  885           * parts of the address that do not identify
 885  886           * the host (port number, etc), and then hash
 886  887           * it to find the chain of cache entries.
↓ open down ↓ 686 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX