Displaying 1 result from an estimated 1 matches for "sysctl_hdr".
2023 Aug 08
0
[Bridge] [PATCH v2 11/14] networking: Update to register_net_sysctl_sz
...using it (not yet). Keeping
the "procname == NULL" stopping criteria allows us to keep the current
behavior while we introduce the size in the background. We will start
using the patchset in the upcoming patchsets.
>
> > + table_size = 0;
> > + }
> > - net->xfrm.sysctl_hdr = register_net_sysctl(net, "net/core", table);
> > + net->xfrm.sysctl_hdr = register_net_sysctl_sz(net, "net/core", table,
> > + table_size);
> > if (!net->xfrm.sysctl_hdr)
> > goto out_register;
> > return 0;
>
> o...