summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/iptable_nat.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-26 17:42:15 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-05-06 23:33:47 +0200
commit3a2e86f64577be9a6e2c13ee06834e769cd3824f (patch)
tree5ddd6ea3d3958c88dc4e42307fc74938b71b3d16 /net/ipv4/netfilter/iptable_nat.c
parentc1c7e44b4f62e9c07fea8aaa58ed46cfae48ba3d (diff)
downloadop-kernel-dev-3a2e86f64577be9a6e2c13ee06834e769cd3824f.zip
op-kernel-dev-3a2e86f64577be9a6e2c13ee06834e769cd3824f.tar.gz
netfilter: nf_nat: remove unused ct arg from lookup functions
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter/iptable_nat.c')
-rw-r--r--net/ipv4/netfilter/iptable_nat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/iptable_nat.c b/net/ipv4/netfilter/iptable_nat.c
index 0f7255c..529d89e 100644
--- a/net/ipv4/netfilter/iptable_nat.c
+++ b/net/ipv4/netfilter/iptable_nat.c
@@ -33,8 +33,7 @@ static const struct xt_table nf_nat_ipv4_table = {
static unsigned int iptable_nat_do_chain(void *priv,
struct sk_buff *skb,
- const struct nf_hook_state *state,
- struct nf_conn *ct)
+ const struct nf_hook_state *state)
{
return ipt_do_table(skb, state, state->net->ipv4.nat_table);
}
OpenPOWER on IntegriCloud