Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2011 20:24:35 +0200
From:      Monthadar Al Jaberi <monthadar@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Mbuf: m_prepend & M_PREPEND packet header length difference problem
Message-ID:  <CA%2BsBSoJua8sjzWn0h1w7FmfzQ=ygUAZ5e0pfPn7wA7z2S6kw5Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

The M_PREPEND macro updates m_pkthdr.len. But m_prepend does not
update it. m_sanity function complains if I run m_prepend.

Why doesnt m_prepend update m_pkthdr.len?


br,

-- 
//Monthadar Al Jaberi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSoJua8sjzWn0h1w7FmfzQ=ygUAZ5e0pfPn7wA7z2S6kw5Q>