Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2013 10:09:19 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        svn-src-head@freebsd.org, freebsd-net@freebsd.org, Navdeep Parhar <np@FreeBSD.org>
Subject:   Re: M_NOFREE removal (was Re: svn commit: r254520 - in head/sys: kern sys)
Message-ID:  <5214F43F.8040201@freebsd.org>
In-Reply-To: <5214D7E8.1080106@freebsd.org>
References:  <201308191116.r7JBGsc6065793@svn.freebsd.org> <521256CE.6070706@FreeBSD.org> <5212587A.2080202@freebsd.org> <52128937.1010407@freebsd.org> <52129E55.30803@freebsd.org> <5214D7E8.1080106@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>   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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5214F43F.8040201>