netfilter: xtables: symmetric COMPAT_XT_ALIGN definition
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 10 Feb 2010 14:03:27 +0000 (15:03 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 10 Feb 2010 14:03:27 +0000 (15:03 +0100)
commit42107f5009da223daa800d6da6904d77297ae829
tree2e7490aa84a59e1e3f8753ce18c9faaa50ac6e32
parent0a02604628c49037e1de2091d75462fd856b26ed
netfilter: xtables: symmetric COMPAT_XT_ALIGN definition

Rewrite COMPAT_XT_ALIGN in terms of dummy structure hack.
Compat counters logically have nothing to do with it.
Use ALIGN() macro while I'm at it for same types.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/x_tables.h
net/netfilter/x_tables.c