Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c46ae0e authored by David S. Miller's avatar David S. Miller
Browse files

Revert "net: dccp: initialize (addr,port) listening hashtable"



This reverts commit ec49d83f.

Cause build failures when DCCP is modular.

ERROR: "inet_hashinfo2_init" [net/dccp/dccp.ko] undefined!

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent df9b0e30
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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,