summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-12 08:43:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-12 08:43:53 +0200
commit81606aea2303aa11867e97030299b1057091c2fd (patch)
treef9231fa1ebc03221afc54507602ee0ff057da2cb /kernel/bpf/stackmap.c
parentef189c8dde9a82962ddb2511ee00ab8d4719dfca (diff)
parent32c1431eea4881a6b17bd7c639315010aeefa452 (diff)
downloadcachepc-linux-81606aea2303aa11867e97030299b1057091c2fd.tar.gz
cachepc-linux-81606aea2303aa11867e97030299b1057091c2fd.zip
Merge 4.12-rc5 into usb-next
We want the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/stackmap.c')
-rw-r--r--kernel/bpf/stackmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c
index 4dfd6f2ec2f9..31147d730abf 100644
--- a/kernel/bpf/stackmap.c
+++ b/kernel/bpf/stackmap.c
@@ -88,6 +88,7 @@ static struct bpf_map *stack_map_alloc(union bpf_attr *attr)
smap->map.key_size = attr->key_size;
smap->map.value_size = value_size;
smap->map.max_entries = attr->max_entries;
+ smap->map.map_flags = attr->map_flags;
smap->n_buckets = n_buckets;
smap->map.pages = round_up(cost, PAGE_SIZE) >> PAGE_SHIFT;