netfilter: xt_connlimit: remove mask argument
authorFlorian Westphal <fw@strlen.de>
Thu, 2 Nov 2017 11:50:38 +0000 (12:50 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 13:47:30 +0000 (14:47 +0100)
commitb1fc1372c48027a5b99943905cf7cfa6d622d6a9
tree9a93704d4ef21b097af6014454df6d7033d35704
parent9912156c2e42a5b0100da37275622262ece02c05
netfilter: xt_connlimit: remove mask argument

Instead of passing mask to all the helpers, just fixup the search key
early.

After rbtree conversion, each rbtree node stores connections of same
'addr & mask', so no need to pass the mask too.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_connlimit.c