]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/bpf/core.c
bpf: bpf_prog_array_alloc() should return a generic non-rcu pointer
[linux.git] / kernel / bpf / core.c
index 1e5625d46414cc68efe372b2c6a8dab266a24dd6..253aa8e79c7b4e22bfb5f626c35e5a11a7f035e0 100644 (file)
@@ -1538,7 +1538,7 @@ static struct {
        .null_prog = NULL,
 };
 
-struct bpf_prog_array __rcu *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags)
+struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags)
 {
        if (prog_cnt)
                return kzalloc(sizeof(struct bpf_prog_array) +