netlink: Remove max_size setting
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 May 2015 00:27:59 +0000 (08:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 03:27:02 +0000 (23:27 -0400)
commitedac450d5b5d47aa11e614f19c8f9b17f362e608
treee6d8b7402bc6de02642b5b688ef93a27ec62ae97
parenta5d28090405038ca1f40c13f38d6d4285456efee
netlink: Remove max_size setting

We currently limit the hash table size to 64K which is very bad
as even 10 years ago it was relatively easy to generate millions
of sockets.

Since the hash table is naturally limited by memory allocation
failure, we don't really need an explicit limit so this patch
removes it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c