summaryrefslogtreecommitdiff
path: root/net/ipv6/netfilter/nf_tables_ipv6.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-04 01:16:25 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-04-04 16:54:27 (GMT)
commit073bfd56860446a2cb349bcf282fc17a36ca386c (patch)
tree715689c7e8b3d4f3653576d24ca4018af41043b2 /net/ipv6/netfilter/nf_tables_ipv6.c
parent8f8a37152df49d541c43f010543f2b0176fcfb8e (diff)
downloadlinux-073bfd56860446a2cb349bcf282fc17a36ca386c.tar.xz
netfilter: Pass nf_hook_state through nft_set_pktinfo*().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/nf_tables_ipv6.c')
-rw-r--r--net/ipv6/netfilter/nf_tables_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nf_tables_ipv6.c b/net/ipv6/netfilter/nf_tables_ipv6.c
index 224bc89..c8148ba 100644
--- a/net/ipv6/netfilter/nf_tables_ipv6.c
+++ b/net/ipv6/netfilter/nf_tables_ipv6.c
@@ -23,7 +23,7 @@ static unsigned int nft_do_chain_ipv6(const struct nf_hook_ops *ops,
struct nft_pktinfo pkt;
/* 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;
return nft_do_chain(&pkt, ops);