On Tue, Jan 17, 2012 at 12:13:37PM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Tue Jan 17 12:13:36 2012
T> New Revision: 230264
T> URL: http://svn.freebsd.org/changeset/base/230264
T> 
T> Log:
T>   Provide a function m_get2() that allocates a minimal mbuf that
T>   would fit specified size. Returned mbuf may be a single mbuf,
T>   an mbuf with a cluster from packet zone, or an mbuf with jumbo
T>   cluster of sufficient size.

I am open to discussion on bikeshed color^W^W a better name for
this function.

I utilized it in pfsync, however there are several other places where
it can be used instead of handrolled "if else if else" constructs.

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to