bpf: allow eBPF programs to use maps
authorAlexei Starovoitov <ast@plumgrid.com>
Fri, 14 Nov 2014 01:36:49 +0000 (17:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Nov 2014 18:44:00 +0000 (13:44 -0500)
commitd0003ec01c667b731c139e23de3306a8b328ccf5
treea0156f2487c49537507d46f730c9e9ca9c4667c4
parentffb65f27a15583379567b6a59a9758163b7f5750
bpf: allow eBPF programs to use maps

expose bpf_map_lookup_elem(), bpf_map_update_elem(), bpf_map_delete_elem()
map accessors to eBPF programs

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpf.h
include/uapi/linux/bpf.h
kernel/bpf/Makefile
kernel/bpf/helpers.c [new file with mode: 0644]