From: Florian Westphal Date: Mon, 15 Feb 2010 17:16:26 +0000 (+0100) Subject: netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets X-Git-Tag: v2.6.34-rc1~233^2~303^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0e3df4f00a5f62c2f2fce84bf496136b58c474;p=pandora-kernel.git netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 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. Signed-off-by: Florian Westphal Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed