diff options
author | 2023-10-17 21:40:46 +0200 | |
---|---|---|
committer | 2023-10-17 21:40:46 +0200 | |
commit | a940daa52167e9db8ecce82213813b735a9d9f23 (patch) | |
tree | d5346c51351ccd1da7532cbec3127e6b73ec59c9 /net/unix/sysctl_net_unix.c | |
parent | cpu/hotplug: Remove unused cpuhp_state CPUHP_AP_X86_VDSO_VMA_ONLINE (diff) | |
parent | Linux 6.6-rc6 (diff) | |
download | wireguard-linux-a940daa52167e9db8ecce82213813b735a9d9f23.tar.xz wireguard-linux-a940daa52167e9db8ecce82213813b735a9d9f23.zip |
Merge branch 'linus' into smp/core
Pull in upstream to get the fixes so depending changes can be applied.
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
-rw-r--r-- | net/unix/sysctl_net_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/unix/sysctl_net_unix.c b/net/unix/sysctl_net_unix.c index 500129aa710c..3e84b31c355a 100644 --- a/net/unix/sysctl_net_unix.c +++ b/net/unix/sysctl_net_unix.c @@ -36,7 +36,8 @@ int __net_init unix_sysctl_register(struct net *net) table[0].data = &net->unx.sysctl_max_dgram_qlen; } - net->unx.ctl = register_net_sysctl(net, "net/unix", table); + net->unx.ctl = register_net_sysctl_sz(net, "net/unix", table, + ARRAY_SIZE(unix_table)); if (net->unx.ctl == NULL) goto err_reg; |