Subject: Re: clear m_pkthdr on MGETHDR()
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 06/01/2001 14:51:31
> > is it okay if we clear out m_pkthdr on MGETHDR()? there's noone
> > initializes these fields at this moment.
>Can we at least use memset() so that the compiler might in-line it?
fine.
>Or maybe we can in-line it ourselves?
if we use bzero/memset we do not need to change MGETHDR()
code when we change m->m_pkthdr. so i like bzero/memset than
a set of "foo = 0" statements.
itojun