|
@@ -23,7 +23,8 @@ struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd)
|
|
* is a runtime binding. Doing static check alone
|
|
* is a runtime binding. Doing static check alone
|
|
* in the verifier is not enough.
|
|
* in the verifier is not enough.
|
|
*/
|
|
*/
|
|
- if (inner_map->map_type == BPF_MAP_TYPE_PROG_ARRAY) {
|
|
|
|
|
|
+ if (inner_map->map_type == BPF_MAP_TYPE_PROG_ARRAY ||
|
|
|
|
+ inner_map->map_type == BPF_MAP_TYPE_CGROUP_STORAGE) {
|
|
fdput(f);
|
|
fdput(f);
|
|
return ERR_PTR(-ENOTSUPP);
|
|
return ERR_PTR(-ENOTSUPP);
|
|
}
|
|
}
|