]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_set_hash: add non-resizable hashtable implementation
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 22 May 2017 16:48:03 +0000 (17:48 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 May 2017 10:46:21 +0000 (12:46 +0200)
commit1f92da0c50de540562412c3b4699ef20ac8c9b08
tree8e0542e8b089352ceb4403e0bd9e8700fdd6db98
parent9ad1e6666bb88e365286a6b3571c7902b88a03d5
netfilter: nft_set_hash: add non-resizable hashtable implementation

This patch adds a simple non-resizable hashtable implementation. If the
user specifies the set size, then this new faster hashtable flavour is
selected.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_set_hash.c