summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorBrenden Blanco <bblanco@plumgrid.com>2016-07-19 12:16:46 -0700
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:24 +0300
commit6bff0d68d68f17a56ff85d6396e22fa85a3e1ad6 (patch)
tree1fdd2fa75adecaf6b8c85f31e7fa98b5c501e536 /kernel/sysctl_binary.c
parent7eca70725f8ae82609b9fec7473911c93ad153e4 (diff)
bpf: add bpf_prog_add api for bulk prog refcnt
A subsystem may need to store many copies of a bpf program, each deserving its own reference. Rather than requiring the caller to loop one by one (with possible mid-loop failure), add a bulk bpf_prog_add api. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions