Skip to content

bpf: A few struct_ops fixes

Martin KaFai Lau bpf netdev 1 version Applied

Status from this message: Applied to bpf tree without this cover letter, since it's too terse.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: Return better error value in delete_elem for struct_ops mapkernel/bpf/bpf_struct_ops.c+11 -30 replies
2/2bpf: Do not allow map_freeze in struct_ops mapkernel/bpf/syscall.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf 0/2] bpf: A few struct_ops fixes

This set addresses a few struct_ops issues.
Please see individual patch for details.

Martin KaFai Lau (2):
bpf: Return better error value in delete_elem for struct_ops map
bpf: Do not allow map_freeze in struct_ops map

 kernel/bpf/bpf_struct_ops.c | 14 +++++++++++---
 kernel/bpf/syscall.c        |  5 +++++
 2 files changed, 16 insertions(+), 3 deletions(-)
Signature · 1 line
2.17.1