author | Florian Westphal <fw@strlen.de> | |
Fri, 1 Apr 2016 12:17:24 +0000 (14:17 +0200) | ||
committer | Sasha Levin <sasha.levin@oracle.com> | |
Mon, 11 Jul 2016 03:07:33 +0000 (23:07 -0400) | ||
commit | 801cd32774d12dccfcfc0c22b0b26d84ed995c6f | |
tree | 3ca7b2401361bb0a27dfe2fcffb050ee83c13331 | tree | snapshot (tar.xz tar.gz zip) |
parent | a471ac817cf0e0d6e87779ca1fee216ba849e613 | commit | diff |
netfilter: x_tables: kill check_entry helper
[ Upstream commit aa412ba225dd3bc36d404c28cdc3d674850d80d0 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
[ Upstream commit aa412ba225dd3bc36d404c28cdc3d674850d80d0 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/ipv4/netfilter/arp_tables.c | diff | blob | history | |
net/ipv4/netfilter/ip_tables.c | diff | blob | history | |
net/ipv6/netfilter/ip6_tables.c | diff | blob | history |