Source-Changes archive

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

Re: CVS commit: src/sys/sys



On Tue, Jul 06, 2004 at 11:29:21PM +0200, Christoph Badura wrote:
> On Fri, Jun 25, 2004 at 03:23:57PM +0000, Jun-ichiro itojun Hagino wrote:
> > 
> > Module Name:        src
> > Committed By:       itojun
> > Date:               Fri Jun 25 15:23:57 UTC 2004
> > 
> > Modified Files:
> >     src/sys/sys: mbuf.h
> > 
> > Log Message:
> > null out m_pkthdr.rcvif on MGETHDR.  otherwise we will touch unexpected
> > memory region on m->m_pkthdr.rcvif access (NULL is at least debuggable than
> > random junk value).
> 
> Should this be #ifdef DIAGNOSTIC or DEBUG?

Why? We're initing a bunch of stuff, so it seems easiest to just set this 
to NULL too.

Take care,

Bill

Attachment: pgpI1qBvj17HE.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index