aboutsummaryrefslogtreecommitdiffstats
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
parentnetfilter: ip6t_srh: extend SRH matching for previous, next and last SID (diff)
downloadlinux-dev-3a2e86f64577be9a6e2c13ee06834e769cd3824f.tar.xz
linux-dev-3a2e86f64577be9a6e2c13ee06834e769cd3824f.zip
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 0f7255cc65ee..529d89ec31e8 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);
}