On Fri, Jun 14, 2019 at 4:55 PM Eric Dumazet <eric.duma...@gmail.com> wrote: > > On 6/14/19 4:45 PM, Alexei Starovoitov wrote: > > On Fri, Jun 14, 2019 at 04:22:18PM -0700, Eric Dumazet wrote: > > > maxlen is ignored by proc_do_static_key(), right? > > That is right, I was not sure putting a zero or sizeof(int) > would make sense here. > > Using sizeof(...key) is consistent with other sysctls,
yes. that makes sense. I was just curious whether I missed something. > even of proc_do_static_key() uses a temporary structure and > a temporary integer in its current implementation. yep. Acked-by: Alexei Starovoitov <a...@kernel.org>