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_ipv4.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_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; |