m_tag leak?

JINMEI Tatuya / 神明達哉 jinmei at isl.rdc.toshiba.co.jp
Tue Jan 31 22:21:14 PST 2006


>>>>> On Tue, 31 Jan 2006 14:29:02 +0100, 
>>>>> Andre Oppermann <andre at freebsd.org> said:

>> Doesn't this mean an m_tag attached to the mbuf to be freed, if any,
>> will remain without any reference?  Perhaps I'm missing something very
>> trivial.  It would be appreciated if someone could clarify that.

> This is indeed non-obvious and scattered around but happens correctly.
> Have a look at kern/kern_mbuf.c:mb_dtor_mbuf().

Ah, I see.  Thanks for the prompt answer.

					JINMEI, Tatuya
					Communication Platform Lab.
					Corporate R&D Center, Toshiba Corp.
					jinmei at isl.rdc.toshiba.co.jp


More information about the freebsd-net mailing list