Discussion:
m_tag_*
(too old to reply)
Herb Peyerl
2008-04-14 15:36:15 UTC
Permalink
I just discovered, the hard way, that m_tag operations are only
supported on packets of type M_PKTHDR... I'm thinking I should litter
uipc_mbuf2.c with some KASSERT()s... Anyone object strongly? Or am I
the only person to whom this wasn't immediately obvious?



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Martin Husemann
2008-04-15 09:36:44 UTC
Permalink
Post by Herb Peyerl
I just discovered, the hard way, that m_tag operations are only
supported on packets of type M_PKTHDR... I'm thinking I should litter
uipc_mbuf2.c with some KASSERT()s... Anyone object strongly? Or am I
the only person to whom this wasn't immediately obvious?
KASSERT() are good (and in this case even cheap).

Martin

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...