diff options
Diffstat (limited to 'kernel/bpf/stackmap.c')
| -rw-r--r-- | kernel/bpf/stackmap.c | 1 |
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) | |||
| 88 | smap->map.key_size = attr->key_size; | 88 | smap->map.key_size = attr->key_size; |
| 89 | smap->map.value_size = value_size; | 89 | smap->map.value_size = value_size; |
| 90 | smap->map.max_entries = attr->max_entries; | 90 | smap->map.max_entries = attr->max_entries; |
| 91 | smap->map.map_flags = attr->map_flags; | ||
| 91 | smap->n_buckets = n_buckets; | 92 | smap->n_buckets = n_buckets; |
| 92 | smap->map.pages = round_up(cost, PAGE_SIZE) >> PAGE_SHIFT; | 93 | smap->map.pages = round_up(cost, PAGE_SIZE) >> PAGE_SHIFT; |
| 93 | 94 | ||
