summaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6table_nat.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-03 21:09:51 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-04 12:52:06 -0400
commit8f8a37152df49d541c43f010543f2b0176fcfb8e (patch)
tree31c7e2443db22aefedeed39dfe36093527b688be /net/ipv6/netfilter/ip6table_nat.c
parent8fe22382d1e73dc0ded8098ccf761c986149f72b (diff)
downloadlinux-8f8a37152df49d541c43f010543f2b0176fcfb8e.tar.bz2
netfilter: Pass nf_hook_state through ip6t_do_table().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6table_nat.c')
-rw-r--r--net/ipv6/netfilter/ip6table_nat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/netfilter/ip6table_nat.c b/net/ipv6/netfilter/ip6table_nat.c
index d78f69c7abce..c3a7f7af0ed4 100644
--- a/net/ipv6/netfilter/ip6table_nat.c
+++ b/net/ipv6/netfilter/ip6table_nat.c
@@ -37,8 +37,7 @@ static unsigned int ip6table_nat_do_chain(const struct nf_hook_ops *ops,
{
struct net *net = nf_ct_net(ct);
- return ip6t_do_table(skb, ops->hooknum, state->in, state->out,
- net->ipv6.ip6table_nat);
+ return ip6t_do_table(skb, ops->hooknum, state, net->ipv6.ip6table_nat);
}
static unsigned int ip6table_nat_fn(const struct nf_hook_ops *ops,