Hello:

The os mbuf api has the following functions: os_mbuf_free() and 
os_mbuf_free_chain(). Both of these are currently exposed in os_mbuf.h.

I am thinking that os_mbuf_free should not be exposed; we should only expose 
os_mbuf_free_chain. I would always want the developer to call a function to 
free any mbufs chained to the mbuf being freed.

Well, actually, I would prefer os_mbuf_free() to be exposed and have that free 
the entire chain, but that would require chainging more code…

Yes, I know, trivial, but it is fresh in my mind :-)




Reply via email to