David Edmondson writes:
> * [EMAIL PROTECTED] [2008-01-14 07:34:17]
> >>> What type of change does IP do that causes Xen problems?
> >>
> >> It byte-swaps fields in the headers. Given that the preference of the
> >> guest domain is to provide a read-only mapping to pages it loans to
> >> the IO domain, any attempt to modify packets is problematic.
> >
> > And at a guess, we don't have a flag in the mblk/dblk that says the data
> > is read-only (or something similar)?
> 
> No, we don't have such a thing.

Yes, we do.  See esballoca() and desballoca().  The trick is to bump
the db_ref count and set DBLK_REFMIN in db_flags.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 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