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)
commita2c83fff582ae133d9f5bb187404ea9ce4da1f96
tree93293fffedc76b48e5ccaefdfd95728719d11753
parentf91fe17e243d1f279d425071a35e3d41290758a0
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