* [EMAIL PROTECTED] [2008-01-14 14:08:21] > 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.
I didn't know about DBLK_REFMIN, thanks. dme. -- David Edmondson, Sun Microsystems, http://www.dme.org _______________________________________________ networking-discuss mailing list [email protected]
