diff options
author | David Vernet <void@manifault.com> | 2023-01-25 17:47:33 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-25 19:25:57 +0100 |
commit | 913b2255c3d876254e968f1e8e2c817cca283a29 (patch) | |
tree | d3d40b6e0d65f90488c97568b9c5a23a7fac1f35 /net/ipv4 | |
parent | bpf: Allow BPF_PROG_TYPE_STRUCT_OPS programs to be sleepable (diff) | |
download | linux-913b2255c3d876254e968f1e8e2c817cca283a29.tar.xz linux-913b2255c3d876254e968f1e8e2c817cca283a29.zip |
libbpf: Support sleepable struct_ops.s section
In a prior change, the verifier was updated to support sleepable
BPF_PROG_TYPE_STRUCT_OPS programs. A caller could set the program as
sleepable with bpf_program__set_flags(), but it would be more ergonomic
and more in-line with other sleepable program types if we supported
suffixing a struct_ops section name with .s to indicate that it's
sleepable.
Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230125164735.785732-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions