Re: [PATCH 02/10] netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets

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

 



Florian Westphal wrote:
> From: Florian Westphal <fwestphal@xxxxxxxxxx>
> 
> This will cause trouble once CONFIG_COMPAT support is added
> to ebtables.
> xt_compat_*_offset() calculate the kernel/userland structure size delta
> using:
> 
> XT_ALIGN(size) - COMPAT_XT_ALIGN(size)
> 
> If the match/target sizes are aligned at registration time,
> delta is always zero.
> 
> Should have zero effect for existing systems: xtables uses
> XT_ALIGN() whenever it deals with match/target sizes.

Applied, thanks.
--
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