M_NOFREE removal (was Re: svn commit: r254520 - in head/sys: kern sys)

Peter Grehan grehan at freebsd.org
Wed Aug 21 17:09:24 UTC 2013


>>   If there's an alternative to M_NOFREE, I'd be more than happy to use
>> that.
>
> Set up your own (*ext_free) function and omit freeing of the mbuf
> itself.  Make sure to properly track your mbufs to avoid leaking them.

  Doesn't work: there's an unconditional free of the small mbuf. That's 
why I used M_NOFREE.

later,

Peter.



More information about the freebsd-net mailing list