Re: Fwd: ebtables broken for kernel above 2.6.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2009-05-29 18:20, Bart De Schuymer wrote:

> Hi,
>
> 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.

Since the kernel uses xt_align already, it's best for userspace to do the same.

>>
>> #ifndef IPPROTO_SCTP
>> #define IPPROTO_SCTP           132
>> @@ -37,7 +38,7 @@
>> #define EXEC_STYLE_DAEMON      1
>>
>> #ifndef EBT_MIN_ALIGN
>> -#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target))
>> +#define EBT_MIN_ALIGN (__alignof__(struct _xt_align))
>> #endif
>> #define EBT_ALIGN(s) (((s) + (EBT_MIN_ALIGN-1)) & ~(EBT_MIN_ALIGN-1))
>> #define ERRORMSG_MAXLEN 128
>>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux