Jakub Kicinski
daffc5a2e6
bpf: hashtab: move attribute validation before allocation
...
Number of attribute checks are currently performed after hashtab
is already allocated. Move them to be able to split them out to
the check function later on. Checks have to now be performed on
the attr union directly instead of the members of bpf_map, since
bpf_map will be allocated later. No functional changes.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-01-14 23:36:29 +01:00
..
arraymap.c
bpf: prevent out-of-bounds speculation
2018-01-09 00:53:49 +01:00
bpf_lru_list.c
bpf_lru_list.h
bpf: Only set node->ref = 1 if it has not been set
2017-09-01 09:57:39 -07:00
cgroup.c
bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
2017-12-19 01:43:29 +01:00
core.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-01-11 22:13:42 -05:00
cpumap.c
bpf: cpumap micro-optimization in cpu_map_enqueue
2017-11-02 16:13:14 +09:00
devmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-10-22 13:39:14 +01:00
disasm.c
bpf: allow for correlation of maps and helpers in dump
2017-12-20 18:09:40 -08:00
disasm.h
bpf: allow for correlation of maps and helpers in dump
2017-12-20 18:09:40 -08:00
hashtab.c
bpf: hashtab: move attribute validation before allocation
2018-01-14 23:36:29 +01:00
helpers.c
inode.c
fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'"
2018-01-05 11:43:39 -05:00
lpm_trie.c
bpf: Add file mode configuration into bpf maps
2017-10-20 13:32:59 +01:00
Makefile
bpf: only build sockmap with CONFIG_INET
2018-01-04 19:01:14 +01:00
map_in_map.c
map_in_map.h
offload.c
bpf: offload: report device information for offloaded programs
2017-12-31 16:12:23 +01:00
percpu_freelist.c
bpf: fix lockdep splat
2017-11-15 19:46:32 +09:00
percpu_freelist.h
sockmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-01-11 22:13:42 -05:00
stackmap.c
bpf: implement syscall command BPF_MAP_GET_NEXT_KEY for stacktrace map
2018-01-06 23:52:22 +01:00
syscall.c
bpf: add map_alloc_check callback
2018-01-14 23:36:29 +01:00
tnum.c
bpf/verifier: track signed and unsigned min/max values
2017-08-08 17:51:34 -07:00
verifier.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-01-11 22:13:42 -05:00