Paul Durrant writes:
> > These aren't just Zones issues, though.  Similar design issues can
> > affect DR.
> 
> As a matter of interest, how do you strip a cred_t?

Something like this:

        if (mp->b_datap->db_ref == 1 &&
            (cr = mp->b_datap->db_credp) != NULL) {
                mp->b_datap->db_credp = NULL;
                crfree(cr);
        }

db_credp is not part of the DDI, though, so unless you're integrating
into ON, you're treading on thin ice.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to