> 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.

For that matter, neither is crfree().

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to