aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2018-03-04 15:29:51 -0800
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-20 13:27:17 +0100
commit6aec208786c2a54cbf6135a0242b224e845bef98 (patch)
tree0cac97076aa4e0fe7344402e5e9061459b6c3d58 /include/net/netfilter
parentipvs: use true and false for boolean values (diff)
downloadlinux-dev-6aec208786c2a54cbf6135a0242b224e845bef98.tar.xz
linux-dev-6aec208786c2a54cbf6135a0242b224e845bef98.zip
netfilter: Refactor nf_conncount
Remove parameter 'family' in nf_conncount_count() and count_tree(). It is because the parameter is not useful after commit 625c556118f3 ("netfilter: connlimit: split xt_connlimit into front and backend"). Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_conntrack_count.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_count.h b/include/net/netfilter/nf_conntrack_count.h
index adf8db44cf86..e61184fbfb71 100644
--- a/include/net/netfilter/nf_conntrack_count.h
+++ b/include/net/netfilter/nf_conntrack_count.h
@@ -11,7 +11,6 @@ void nf_conncount_destroy(struct net *net, unsigned int family,
unsigned int nf_conncount_count(struct net *net,
struct nf_conncount_data *data,
const u32 *key,
- unsigned int family,
const struct nf_conntrack_tuple *tuple,
const struct nf_conntrack_zone *zone);
#endif