commit | a8e11e5c5611a9f70470aebeb2c1dd6132f609d7 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Jun 14 16:22:18 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 14 20:18:27 2019 -0700 |
tree | f63600a91cf14ba2590ab2bad28dfae9729630a8 | |
parent | 9a33629ba6b26caebd73e3c581ba1e6068c696a7 [diff] |
sysctl: define proc_do_static_key() Convert proc_dointvec_minmax_bpf_stats() into a more generic helper, since we are going to use jump labels more often. Note that sysctl_bpf_stats_enabled is removed, since it is no longer needed/used. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>