Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 18:39:00 -0700
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Hooman Fazaeli <hoomanfazaeli@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: mbuf question
Message-ID:  <BBAFAB2A-F496-46A2-8FE0-224BE562EAA7@FreeBSD.org>
In-Reply-To: <53230214.7010501@gmail.com>
References:  <53230214.7010501@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Mar 2014, at 06:20, Hooman Fazaeli <hoomanfazaeli@gmail.com> =
wrote:

> Hi list,
>=20
> Is it safe to use m->m_pktdat area to store some arbitrary data about =
packets allocated as mbuf+cluster pair?

No, because m_pktdat is really MH_databuf which is part of a union with =
MH_ext which is set when you allocate an mbuf cluster.

--
Rui Paulo






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBAFAB2A-F496-46A2-8FE0-224BE562EAA7>