Skip to content

Commit

Permalink
Revert "net: dccp: initialize (addr,port) listening hashtable"
Browse files Browse the repository at this point in the history
This reverts commit ec49d83.

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>
  • Loading branch information
David S. Miller committed Dec 16, 2018
1 parent df9b0e3 commit 9c46ae0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/dccp/proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9c46ae0

Please sign in to comment.