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 18:11:53 +0400 Message-ID: <200604151811.54013.dim@sw.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Andreas Schwab Return-path: To: netfilter-devel@lists.netfilter.org 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 compat_xt_counters should be used only for 32bit processes, which has 4 byte alignment. On Friday 14 April 2006 21:12, 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. > > Andreas. -- Thanks, Dmitry.