Rao Shoaib writes:
> This is one of the reasons NFS does not use this approach. Infact 
> desballoca was implemented specifcially for NFS so that the buffer is 
> freed right away as opposed to esballoca which delays the freeing of the 
> buffer. However we ran into a file corruption issue. It turns out some 
> NIC drivers (do not remember which) wrote on the mblks.

That doesn't sound complete to me.

This implies that those drivers were writing to a dblk with db_ref >
1, as the minimum ref count for the *alloca() functions is 2.
Wouldn't that just be a fatal driver bug?  If that were a problem, why
wouldn't we fix that bug?

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