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

Commit b06eee59 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

netlink: Use rhashtable max_size instead of max_shift



This patch converts netlink to use rhashtable max_size instead
of the obsolete max_shift.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2e213cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_shift = 16, /* 64K */
		.max_size = 65536,
	};

	if (err != 0)