netfilter: x_tables: fix build with CONFIG_COMPAT=n
authorFlorian Westphal <fw@strlen.de>
Tue, 6 Mar 2018 07:26:00 +0000 (08:26 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Mar 2018 16:30:29 +0000 (17:30 +0100)
commit72597135cdd2fe524f9a185d7f954c2c3980f3ee
tree75ae545ec47cae79f7f4716dcc68092f6c3daca1
parent010eacd968a73ddcb8592b14c1607e1004120ede
netfilter: x_tables: fix build with CONFIG_COMPAT=n

I placed the helpers within CONFIG_COMPAT section, move them
outside.

Fixes: 472ebdcd15ebdb ("netfilter: x_tables: check error target size too")
Fixes: 07a9da51b4b6ae ("netfilter: x_tables: check standard verdicts in core")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/x_tables.c