]> git.baikalelectronics.ru Git - kernel.git/commit
ebpf: constify various function pointer structs
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 1 Mar 2015 11:31:42 +0000 (12:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2015 19:05:18 +0000 (14:05 -0500)
commit1018795de519cbfca9e5d007cf69c89322def84f
tree93293fffedc76b48e5ccaefdfd95728719d11753
parent0bc42894e64b0edd8ec7647228d10ecd5d1ae8d3
ebpf: constify various function pointer structs

We can move bpf_map_ops and bpf_verifier_ops and other structs into ro
section, bpf_map_type_list and bpf_prog_type_list into read mostly.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpf.h
kernel/bpf/arraymap.c
kernel/bpf/hashtab.c
kernel/bpf/helpers.c
net/core/filter.c