]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90cdf47853de688299ef9ea55fd87a998b75151e
tree9a93704d4ef21b097af6014454df6d7033d35704
parent06bc91dbb22f8e5b78f3a0de39a187cc737a3bbf
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