alistair23-linux/net/bridge/netfilter
Florian Westphal fc0e3df4f0 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 <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-15 18:16:26 +01:00
..
ebt_802_3.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_among.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ebt_arp.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_arpreply.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_dnat.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_ip.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_ip6.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_limit.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_log.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_mark.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_mark_m.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_nflog.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_pkttype.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_redirect.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_snat.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_stp.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_ulog.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebt_vlan.c netfilter: ebtables: avoid explicit XT_ALIGN() in match/targets 2010-02-15 18:16:26 +01:00
ebtable_broute.c netfilter: xtables: add struct xt_mtdtor_param::net 2010-01-18 08:25:47 +01:00
ebtable_filter.c netfilter: xtables: add struct xt_mtdtor_param::net 2010-01-18 08:25:47 +01:00
ebtable_nat.c netfilter: xtables: add struct xt_mtdtor_param::net 2010-01-18 08:25:47 +01:00
ebtables.c netfilter: ebtables: abort if next_offset is too small 2010-02-15 18:15:55 +01:00
Kconfig netfilter: fix ebtables dependencies 2008-10-14 11:57:33 -07:00
Makefile bridge: fix IPV6=n build 2008-06-17 16:16:13 -07:00