]> 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)
commitdc936c13c233e765cb01dd3f1ef9b1472cf6d43a
tree93293fffedc76b48e5ccaefdfd95728719d11753
parentf53a98a3588bc4407c644b1003293689936ab269
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