netfilter: xt_connlimit: don't store address in the conn nodes
commit5e614e212a6359af78b6034ceb12c56f71d5b423
authorFlorian Westphal <fw@strlen.de>
Wed, 2 Jan 2019 20:42:00 +0000 (2 18:42 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2019 16:14:50 +0000 (9 17:14 +0100)
tree0cd90b2c865a2fc09afd3aaeb00f7e49be9589d3
parent20373d980e4543e524501d3c9d19ee717f5d2ebb
netfilter: xt_connlimit: don't store address in the conn nodes

commit ce49480dba8666cba0106e8e31a942c9ce4c438a upstream.

Only stored, never read.  This is a leftover from commit 7d08487777c8
("netfilter: connlimit: use rbtree for per-host conntrack obj storage"),
which added the rbtree node struct that stores the address instead.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
[mfo: backport: refresh context lines and use older symbol/file names:
 - nf_conncount.c -> xt_connlimit.c.
   - nf_conncount_rb -> xt_connlimit_rb
   - nf_conncount_tuple -> xt_connlimit_conn
  - additionally, remove the add_hlist() 'addr' parameter that isn't used and removed
    later upstream with commit 625c556118f3 ("netfilter: connlimit: split xt_connlimit
    into front and backend") in the rename from 'xt_connlimit.c' to 'nf_conncount.c',
    a big refactor, so do it here, while still here in this related patch.]
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/xt_connlimit.c