diff options
author | 2015-04-03 21:16:25 -0400 | |
---|---|---|
committer | 2015-04-04 12:54:27 -0400 | |
commit | 073bfd56860446a2cb349bcf282fc17a36ca386c (patch) | |
tree | 715689c7e8b3d4f3653576d24ca4018af41043b2 /include/net/netfilter/nf_tables_ipv4.h | |
parent | netfilter: Pass nf_hook_state through ip6t_do_table(). (diff) | |
download | wireguard-linux-073bfd56860446a2cb349bcf282fc17a36ca386c.tar.xz wireguard-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_ipv4.h')
-rw-r--r-- | include/net/netfilter/nf_tables_ipv4.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_tables_ipv4.h b/include/net/netfilter/nf_tables_ipv4.h index cba143fbd2e4..2df7f96902ee 100644 --- a/include/net/netfilter/nf_tables_ipv4.h +++ b/include/net/netfilter/nf_tables_ipv4.h @@ -8,12 +8,11 @@ static inline void nft_set_pktinfo_ipv4(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) { struct iphdr *ip; - nft_set_pktinfo(pkt, ops, skb, in, out); + nft_set_pktinfo(pkt, ops, skb, state); ip = ip_hdr(pkt->skb); pkt->tprot = ip->protocol; |