From: David S. Miller Date: Sun, 16 Dec 2018 20:36:41 +0000 (-0800) Subject: Revert "net: dccp: initialize (addr,port) listening hashtable" X-Git-Tag: v5.4-rc1~1957^2~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c46ae0ea1ee84012737c3da3af2930b494d56f7;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/net/dccp/proto.c b/net/dccp/proto.c index be0b223..658cd32b 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,