tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: m_tag_*



On Mon, Apr 14, 2008 at 09:36:15AM -0600, Herb Peyerl wrote:
> 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


Home | Main Index | Thread Index | Old Index