[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a98fd64c-48b4-d008-d563-24cea01822d2@gmail.com>
Date: Fri, 14 Jun 2019 16:55:43 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>,
Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Willem de Bruijn <willemb@...gle.com>,
Feng Tang <feng.tang@...el.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH net 1/4] sysctl: define proc_do_static_key()
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,
even of proc_do_static_key() uses a temporary structure and
a temporary integer in its current implementation.
>
> Great idea, btw. I like the series.
>
Thanks :)
Powered by blists - more mailing lists