aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_CT.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-03-09 23:27:24 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-03-18 14:20:06 +0100
commit7d5f7ed802507999c22949b84686d03987fe57ec (patch)
tree2318dbfb05f02c258a05a8616a16cbfec10f65ab /net/netfilter/xt_CT.c
parentMerge branch 'master' of ../nf-2.6 (diff)
downloadlinux-dev-7d5f7ed802507999c22949b84686d03987fe57ec.tar.xz
linux-dev-7d5f7ed802507999c22949b84686d03987fe57ec.zip
netfilter: xtables: do without explicit XT_ALIGN
XT_ALIGN is already applied on matchsize/targetsize in x_tables.c, so it is not strictly needed in the extensions. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/netfilter/xt_CT.c')
-rw-r--r--net/netfilter/xt_CT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_CT.c b/net/netfilter/xt_CT.c
index fda603edb31a..6509e03f1e62 100644
--- a/net/netfilter/xt_CT.c
+++ b/net/netfilter/xt_CT.c
@@ -137,7 +137,7 @@ static void xt_ct_tg_destroy(const struct xt_tgdtor_param *par)
static struct xt_target xt_ct_tg __read_mostly = {
.name = "CT",
.family = NFPROTO_UNSPEC,
- .targetsize = XT_ALIGN(sizeof(struct xt_ct_target_info)),
+ .targetsize = sizeof(struct xt_ct_target_info),
.checkentry = xt_ct_tg_check,
.destroy = xt_ct_tg_destroy,
.target = xt_ct_target,