diff options
author | David S. Miller | 2015-04-04 03:16:25 +0200 |
---|---|---|
committer | David S. Miller | 2015-04-04 18:54:27 +0200 |
commit | 073bfd56860446a2cb349bcf282fc17a36ca386c (patch) | |
tree | 715689c7e8b3d4f3653576d24ca4018af41043b2 /include/net/netfilter/nf_tables.h | |
parent | netfilter: Pass nf_hook_state through ip6t_do_table(). (diff) | |
download | kernel-qcow2-linux-073bfd56860446a2cb349bcf282fc17a36ca386c.tar.gz kernel-qcow2-linux-073bfd56860446a2cb349bcf282fc17a36ca386c.tar.xz kernel-qcow2-linux-073bfd56860446a2cb349bcf282fc17a36ca386c.zip |
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.h')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index b8cd60dcb4e1..804981980393 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -26,12 +26,11 @@ struct nft_pktinfo { static inline void nft_set_pktinfo(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) { pkt->skb = skb; - pkt->in = pkt->xt.in = in; - pkt->out = pkt->xt.out = out; + pkt->in = pkt->xt.in = state->in; + pkt->out = pkt->xt.out = state->out; pkt->ops = ops; pkt->xt.hooknum = ops->hooknum; pkt->xt.family = ops->pf; |