summaryrefslogtreecommitdiff
path: root/net/ipv6/netfilter/nft_chain_route_ipv6.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-03 21:16:25 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-04 12:54:27 -0400
commit073bfd56860446a2cb349bcf282fc17a36ca386c (patch)
tree715689c7e8b3d4f3653576d24ca4018af41043b2 /net/ipv6/netfilter/nft_chain_route_ipv6.c
parent8f8a37152df49d541c43f010543f2b0176fcfb8e (diff)
netfilter: Pass nf_hook_state through nft_set_pktinfo*().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/nft_chain_route_ipv6.c')
-rw-r--r--net/ipv6/netfilter/nft_chain_route_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nft_chain_route_ipv6.c b/net/ipv6/netfilter/nft_chain_route_ipv6.c
index c826c3c854b2..0dafdaac5e17 100644
--- a/net/ipv6/netfilter/nft_chain_route_ipv6.c
+++ b/net/ipv6/netfilter/nft_chain_route_ipv6.c
@@ -33,7 +33,7 @@ static unsigned int nf_route_table_hook(const struct nf_hook_ops *ops,
u32 mark, flowlabel;
/* malformed packet, drop it */
- if (nft_set_pktinfo_ipv6(&pkt, ops, skb, state->in, state->out) < 0)
+ if (nft_set_pktinfo_ipv6(&pkt, ops, skb, state) < 0)
return NF_DROP;
/* save source/dest address, mark, hoplimit, flowlabel, priority */