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: David Laight <david%l8s.co.uk@localhost>
To: 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 07:37:07 +0100

 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'.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index