From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: ebtables broken for kernel above 2.6.28 Date: Fri, 05 Jun 2009 15:38:48 +0200 Message-ID: <4A291FE8.1040708@trash.net> References: <17923cc80905280124t4ed6cf7m87f91e4444146697@mail.gmail.com> <4A1EB783.4090801@pandora.be> <17923cc80905282251s2ddc50a4n1a44a2b1e6b01cc5@mail.gmail.com> <17923cc80905290414r5caaaec9t8b6c4ce849c66175@mail.gmail.com> <4A200B60.6080804@pandora.be> <4A25191D.2030201@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: sachin sanap , Netfilter Developer Mailing List , buytenh@wantstofly.org, Bart De Schuymer To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:58193 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751972AbZFENiv (ORCPT ); Fri, 5 Jun 2009 09:38:51 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On 2009-06-02 12:20:45, Patrick McHardy wrote: > >> On Friday 2009-05-29 19:16, Jan Engelhardt wrote: >> >>> On Friday 2009-05-29 18:20, Bart De Schuymer wrote: >>> >>>> I think it's best to fix this in the kernel if it's possible, >>>> since we don't want to break compatibility. If the fix has to be >>>> in userspace, then it must be a fix that still works for older >>>> kernels. >>>> >>>> -#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target)) >>>> +#define EBT_MIN_ALIGN (__alignof__(struct _xt_align)) >>>> >>> Since the kernel uses xt_align already, it's best for userspace to >>> do the same. >>> >> But that doesn't work for older kernels. Please don't dismiss >> compatibility issues that easily. Sometimes things unfortunately do >> slip through, but I expect people to do their best to fix the >> problem properly when this happens. >> > > But if it gets changed back again to ebt_entry_target, it might > stop working for the combinations it currently works on. :/ > Why, ebtables userspace didn't change, which implies it will still work?