Message ID | 20180426152943.GA19372@lkp-ne02 |
---|---|
State | RFC, archived |
Delegated to: | BPF Maintainers |
Headers | show |
Series | [RFC] bpf: lwt_out_verifier_ops can be static | expand |
diff --git a/net/core/filter.c b/net/core/filter.c index 8a2331c..690e0b1 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -5803,13 +5803,13 @@ const struct bpf_prog_ops lwt_in_prog_ops = { .test_run = bpf_prog_test_run_skb, }; -const struct bpf_verifier_ops lwt_out_verifier_ops = { +static const struct bpf_verifier_ops lwt_out_verifier_ops = { .get_func_proto = lwt_out_func_proto, .is_valid_access = lwt_is_valid_access, .convert_ctx_access = bpf_convert_ctx_access, }; -const struct bpf_prog_ops lwt_out_prog_ops = { +static const struct bpf_prog_ops lwt_out_prog_ops = { .test_run = bpf_prog_test_run_skb, };
Fixes: 5c3289b57b1b ("bpf: Split lwt inout verifier structures") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)