Peter Memishian wrote:
> 
> That may guarantee that the mblk_t is valid, but it's unclear to me how
> the information in that mblk_t can be safely used by the driver, given
> that it reflects the processing state (via b_rptr and b_wptr) of some
> random mblk_t pointing at the given dblk_t.

That's really an implementation detail. My implementation resets the 
mblk_t fields to the same state the original mblk_t fields were in after 
xesballoc() was called before calling frtn_t.free_func(). I've posted a 
webrev at http://cr.opensolaris.org/~pdurrant/stream.

>  FWIW, db_mblk is also
> currently project-private to the STREAMS framework, and not covered in
> datab(9S), probably because it's unclear how one would use it properly.
> 

Ok. I guess that limits xesballoc() to be consolidation private. That is 
fine for my purposes.

   Paul

Reply via email to