aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-06-20 22:08:32 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-20 22:08:32 +0200
commitb50fb7c99217922ea36d6e38bae34d84c0587cad (patch)
tree5f46167ac7fe5cd87bbed8ca8644f32befc5bbae /kernel/bpf/arraymap.c
parentgenirq: Warn when IRQ_NOAUTOEN is used with shared interrupts (diff)
parentLinux 4.12-rc6 (diff)
downloadwireguard-linux-b50fb7c99217922ea36d6e38bae34d84c0587cad.tar.xz
wireguard-linux-b50fb7c99217922ea36d6e38bae34d84c0587cad.zip
Merge branch 'linus' into irq/core
Get upstream changes so pending patches won't conflict.
Diffstat (limited to 'kernel/bpf/arraymap.c')
-rw-r--r--kernel/bpf/arraymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c
index 5e00b2333c26..172dc8ee0e3b 100644
--- a/kernel/bpf/arraymap.c
+++ b/kernel/bpf/arraymap.c
@@ -86,6 +86,7 @@ static struct bpf_map *array_map_alloc(union bpf_attr *attr)
array->map.key_size = attr->key_size;
array->map.value_size = attr->value_size;
array->map.max_entries = attr->max_entries;
+ array->map.map_flags = attr->map_flags;
array->elem_size = elem_size;
if (!percpu)