diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 6b0f21950e09d41969d3922220dab2eb3a3d63ae..d97aed628bda95416bf9474939f215a7981817b8 100644 --- 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_shift = 16, /* 64K */ + .max_size = 65536, }; if (err != 0)