From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: compat_xt_counters is not compatible Date: Sat, 15 Apr 2006 19:52:01 +0200 Message-ID: <444132C1.1020604@trash.net> References: <44412142.9070409@trash.net> 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: 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 Andreas Schwab wrote: > Patrick McHardy writes: > > >>Andreas Schwab wrote: >> >>>struct compat_xt_counters uses uint32_t[4], which has 4 byte alignment, >>>but userspace uses uint64_t[2], which has 8 byte alignment. This breaks >>>iptables in 2.6.17-rc1. >> >>Did you actually see the breakage? > > > Of course. > > >>gcc on x86 > > > Not all the worlds an x86. Well, then how about providing the necessary information, starting with the architecture?