diff options
author | David S. Miller <davem@davemloft.net> | 2018-12-16 12:36:41 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-16 12:36:41 -0800 |
commit | 9c46ae0ea1ee84012737c3da3af2930b494d56f7 (patch) | |
tree | f42e1c8824d873f5f06c2ddaf124ba2dd959a714 /net | |
parent | df9b0e30d44c901ac27c0f38cd54511b3f130c6d (diff) | |
download | linux-9c46ae0ea1ee84012737c3da3af2930b494d56f7.tar.gz linux-9c46ae0ea1ee84012737c3da3af2930b494d56f7.tar.bz2 linux-9c46ae0ea1ee84012737c3da3af2930b494d56f7.zip |
Revert "net: dccp: initialize (addr,port) listening hashtable"
This reverts commit ec49d83f245453515a9b6e88324e27bbcb69fbae.
Cause build failures when DCCP is modular.
ERROR: "inet_hashinfo2_init" [net/dccp/dccp.ko] undefined!
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/proto.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index be0b223aa862..658cd32bb7b3 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c @@ -1141,9 +1141,6 @@ static int __init dccp_init(void) goto out_fail; rc = -ENOBUFS; inet_hashinfo_init(&dccp_hashinfo); - inet_hashinfo2_init(&dccp_hashinfo, "dccp_listen_portaddr_hash", - INET_LHTABLE_SIZE, 21, /* one slot per 2 MB*/ - 0, 64 * 1024); dccp_hashinfo.bind_bucket_cachep = kmem_cache_create("dccp_bind_bucket", sizeof(struct inet_bind_bucket), 0, |