Displaying 1 result from an estimated 1 matches for "ipv6_route_table_templ".
2023 Aug 08
0
[Bridge] [PATCH v2 11/14] networking: Update to register_net_sysctl_sz
...eturn table;
> > }
> > +
> > +size_t ipv6_route_sysctl_table_size(struct net *net)
> > +{
> > + /* Don't export sysctls to unprivileged users */
> > + if (net->user_ns != &init_user_ns)
> > + return 0;
> > +
> > + return ARRAY_SIZE(ipv6_route_table_template);
> > +}
> > #endif
> > static int __net_init ip6_route_net_init(struct net *net)
--
Joel Granados
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: &...