From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Mishin Subject: Re: compat_xt_counters is not compatible Date: Sat, 15 Apr 2006 20:14:45 +0400 Message-ID: <200604152014.45923.dim@sw.ru> References: <200604151811.54013.dim@sw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Andreas Schwab In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Could you give more details on what's wrong? dim@dhcp0-24:~> cat test.c #include struct x { __u64 ptr; __u32 ptr2; }; int main(int argc, char *argv[]) { printf("%d\n", sizeof(struct x)); return 0; } dim@dhcp0-24:~> gcc -m32 -o test test.c dim@dhcp0-24:~> ./test 12 dim@dhcp0-24:~> gcc -o test test.c dim@dhcp0-24:~> ./test 16 dim@dhcp0-24:~> uname -p x86_64 On Saturday 15 April 2006 18:16, Andreas Schwab wrote: > Dmitry Mishin writes: > > compat_xt_counters should be used only for 32bit processes, which has 4 > > byte alignment. > > This is wrong. > > Andreas. -- Thanks, Dmitry.