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 :)
- [PATCH net 0/4] tcp: add three static keys Eric Dumazet
- [PATCH net 4/4] net: add high_order_alloc_disable ... Eric Dumazet
- [PATCH net 1/4] sysctl: define proc_do_static_key(... Eric Dumazet
- Re: [PATCH net 1/4] sysctl: define proc_do_sta... Alexei Starovoitov
- Re: [PATCH net 1/4] sysctl: define proc_do... Eric Dumazet
- Re: [PATCH net 1/4] sysctl: define pro... Alexei Starovoitov
- [PATCH net 3/4] tcp: add tcp_tx_skb_cache sysctl Eric Dumazet
- [PATCH net 2/4] tcp: add tcp_rx_skb_cache sysctl Eric Dumazet
- Re: [PATCH net 0/4] tcp: add three static keys David Miller