diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-09 22:27:24 (GMT) |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-18 13:20:06 (GMT) |
commit | 7d5f7ed802507999c22949b84686d03987fe57ec (patch) | |
tree | 2318dbfb05f02c258a05a8616a16cbfec10f65ab /net/netfilter/xt_LED.c | |
parent | e8a96f69383f3d88cdc06d8ccd450f70c48628a3 (diff) | |
download | linux-7d5f7ed802507999c22949b84686d03987fe57ec.tar.xz |
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_LED.c')
-rw-r--r-- | net/netfilter/xt_LED.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_LED.c b/net/netfilter/xt_LED.c index 8ff7843..f86dc523 100644 --- a/net/netfilter/xt_LED.c +++ b/net/netfilter/xt_LED.c @@ -141,7 +141,7 @@ static struct xt_target led_tg_reg __read_mostly = { .revision = 0, .family = NFPROTO_UNSPEC, .target = led_tg, - .targetsize = XT_ALIGN(sizeof(struct xt_led_info)), + .targetsize = sizeof(struct xt_led_info), .checkentry = led_tg_check, .destroy = led_tg_destroy, .me = THIS_MODULE, |