]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netfilter: x_tables: kill check_entry helper
authorFlorian Westphal <fw@strlen.de>
Fri, 1 Apr 2016 12:17:24 +0000 (14:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Apr 2016 22:30:36 +0000 (00:30 +0200)
commitaa412ba225dd3bc36d404c28cdc3d674850d80d0
tree2d9acf9b34d2423bd17122e31afdd71ca9bcd864
parent7d35812c3214afa5b37a675113555259cfd67b98
netfilter: x_tables: kill check_entry helper

Once we add more sanity testing to xt_check_entry_offsets it
becomes relvant if we're expecting a 32bit 'config_compat' blob
or a normal one.

Since we already have a lot of similar-named functions (check_entry,
compat_check_entry, find_and_check_entry, etc.) and the current
incarnation is short just fold its contents into the callers.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c