]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: deduplicate prefixlen maps
authorAaron Conole <aconole@bytheb.org>
Mon, 11 Sep 2017 19:52:39 +0000 (21:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Oct 2017 14:19:06 +0000 (16:19 +0200)
commitab9e3ebc8d3e5b58c5358aa3fb7c4c7513b95a51
treee2b3fd1f02aabfec1adfe19c32f718d41ebb7598
parentd789cb4308dda101d5206aec5df6d57ca0bddea4
netfilter: ipset: deduplicate prefixlen maps

The prefixlen maps used here are identical, and have been since
introduction.  It seems to make sense to use a single large map,
that the preprocessor will fill appropriately.

Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/pfxlen.c