NetBSD-Bugs archive

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

Re: bin/47101 (ipmon(8) alignment problem on 32-bit sparc)



The following reply was made to PR bin/47101; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: David Laight <david%l8s.co.uk@localhost>, gnats-bugs%NetBSD.org@localhost
Cc: darrenr%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost, 
        nakayama%netbsd.org@localhost
Subject: Re: bin/47101 (ipmon(8) alignment problem on 32-bit sparc)
Date: Fri, 26 Oct 2012 08:34:48 -0400

 On Oct 26,  7:37am, david%l8s.co.uk@localhost (David Laight) wrote:
 -- Subject: Re: bin/47101 (ipmon(8) alignment problem on 32-bit sparc)
 
 | On Thu, Oct 25, 2012 at 10:15:05PM +0000, Takeshi Nakayama wrote:
 | >  We need something as below.
 | 
 | Does that even compile ?
 | 
 | >  +print_natlog(config_t *conf, const void *buf, const iplog_t *ipl)
 | >  { ... }
 | 
 | >  +print_statelog(config_t *conf, const void *buf, const iplog_t *ipl)
 | >  { ...
 | >  +                         print_ipflog(conf, buf, &ipl);
 | ...
 | >  +                         print_natlog(conf, buf, &ipl);
 | ...
 | >  +                         print_statelog(conf, buf, &ipl);
 | > ... }
 | >   
 | >  +print_ipflog(config_t *conf, const  void *buf, const iplog_t *ipl)
 | { ... }
 | 
 | I also can't see where you are doing the 'realignment copy'.
 
 I'll fix it.
 
 christos
 


Home | Main Index | Thread Index | Old Index