summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/nft_chain_nat_ipv4.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-09 18:42:43 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2014-01-09 20:17:16 +0100
commit3876d22dba62ebf6582f33e1ef2160eeb95e1129 (patch)
treeb4ee6d922f5523a03f78268d9e958abb768c70a8 /net/ipv4/netfilter/nft_chain_nat_ipv4.c
parent44a6f0df039ee7ddeebc88327dd61f0afb53baa7 (diff)
downloadlinux-3876d22dba62ebf6582f33e1ef2160eeb95e1129.tar.gz
linux-3876d22dba62ebf6582f33e1ef2160eeb95e1129.tar.bz2
linux-3876d22dba62ebf6582f33e1ef2160eeb95e1129.zip
netfilter: nf_tables: rename nft_do_chain_pktinfo() to nft_do_chain()
We don't encode argument types into function names and since besides nft_do_chain() there are only AF-specific versions, there is no risk of confusion. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter/nft_chain_nat_ipv4.c')
-rw-r--r--net/ipv4/netfilter/nft_chain_nat_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nft_chain_nat_ipv4.c b/net/ipv4/netfilter/nft_chain_nat_ipv4.c
index 208d60afaaa0..b5b256d45e67 100644
--- a/net/ipv4/netfilter/nft_chain_nat_ipv4.c
+++ b/net/ipv4/netfilter/nft_chain_nat_ipv4.c
@@ -75,7 +75,7 @@ static unsigned int nf_nat_fn(const struct nf_hook_ops *ops,
nft_set_pktinfo_ipv4(&pkt, ops, skb, in, out);
- ret = nft_do_chain_pktinfo(&pkt, ops);
+ ret = nft_do_chain(&pkt, ops);
if (ret != NF_ACCEPT)
return ret;
if (!nf_nat_initialized(ct, maniptype)) {