projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e213c
)
netlink: Use rhashtable max_size instead of max_shift
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 18 Mar 2015 09:01:17 +0000
(20:01 +1100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Mar 2015 16:46:40 +0000
(12:46 -0400)
This patch converts netlink to use rhashtable max_size instead
of the obsolete max_shift.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 6b0f21950e09d41969d3922220dab2eb3a3d63ae..d97aed628bda95416bf9474939f215a7981817b8 100644
(file)
--- a/
net/netlink/af_netlink.c
+++ b/
net/netlink/af_netlink.c
@@
-3123,7
+3123,7
@@
static int __init netlink_proto_init(void)
.key_offset = offsetof(struct netlink_sock, portid),
.key_len = sizeof(u32), /* portid */
.hashfn = jhash,
- .max_s
hift = 16, /* 64K */
+ .max_s
ize = 65536,
};
if (err != 0)