]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: remove insecure_max_entries param
authorFlorian Westphal <fw@strlen.de>
Tue, 25 Apr 2017 09:41:34 +0000 (11:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Apr 2017 18:39:24 +0000 (14:39 -0400)
commitdd86dbd31556ba8d6bb1617b8b269a0bbe17f5eb
treeead97d56b9276b64fbc89f5ed00f6696a490a8ff
parenta5332b2a06e0828aea5e5a12060ea510ca76fc50
rhashtable: remove insecure_max_entries param

no users in the tree, insecure_max_entries is always set to
ht->p.max_size * 2 in rhtashtable_init().

Replace only spot that uses it with a ht->p.max_size check.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h
lib/rhashtable.c