diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-04 04:16:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-04 19:54:27 +0300 |
commit | 073bfd56860446a2cb349bcf282fc17a36ca386c (patch) | |
tree | 715689c7e8b3d4f3653576d24ca4018af41043b2 /include/net/netfilter/nf_tables_ipv6.h | |
parent | 8f8a37152df49d541c43f010543f2b0176fcfb8e (diff) | |
download | linux-073bfd56860446a2cb349bcf282fc17a36ca386c.tar.xz |
netfilter: Pass nf_hook_state through nft_set_pktinfo*().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_tables_ipv6.h')
-rw-r--r-- | include/net/netfilter/nf_tables_ipv6.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_tables_ipv6.h b/include/net/netfilter/nf_tables_ipv6.h index 74d976137658..97db2e3a5e65 100644 --- a/include/net/netfilter/nf_tables_ipv6.h +++ b/include/net/netfilter/nf_tables_ipv6.h @@ -8,13 +8,12 @@ static inline int nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt, const struct nf_hook_ops *ops, struct sk_buff *skb, - const struct net_device *in, - const struct net_device *out) + const struct nf_hook_state *state) { int protohdr, thoff = 0; unsigned short frag_off; - nft_set_pktinfo(pkt, ops, skb, in, out); + nft_set_pktinfo(pkt, ops, skb, state); protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, NULL); /* If malformed, drop it */ |