<<On Fri, 16 Nov 2001 16:13:41 -0800 (PST), Julian Elischer <[EMAIL PROTECTED]> said:

> (and anyhow Garrett got rid of the 'static' uses
> of mbufs, not 'travelling' 'per packet' uses..)

Only because I did not have the time or stomach then to introduce
`struct packet' everywhere.  All of the queueing and metadata crap
should be pulled out of mbufs and put into a higher-level object.
It's OK if the higher-level object HAS_A(mbuf), but not IS_A(mbuf).

This is A Lot Of Work, but would seriously clean up the code in a
number of areas.

As a general rule, though, reentrancy was not a particular concern of
the original design -- that's why there are queues and soft ISRs all
over the place -- because you would blow the kernel stack long before
that became an issue.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to