projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9b0e3
)
Revert "net: dccp: initialize (addr,port) listening hashtable"
author
David S. Miller
<
[email protected]
>
Sun, 16 Dec 2018 20:36:41 +0000
(12:36 -0800)
committer
David S. Miller
<
[email protected]
>
Sun, 16 Dec 2018 20:36:41 +0000
(12:36 -0800)
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 <
[email protected]
>
net/dccp/proto.c
patch
|
blob
|
history
diff --git
a/net/dccp/proto.c
b/net/dccp/proto.c
index be0b223aa862518c4a344a7b4e12f8a1db55c885..658cd32bb7b37e740ec174481c067ef2ea67cb7e 100644
(file)
--- 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,