Skip to content

bpf: fix a bpf_timer initialization issue

Yonghong Song bpf 4 versions Applied

Status from this message: This series was applied to bpf/bpf.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesApplied 2/2
  2. v32 patches 1 replySuperseded
  3. v22 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches4 repliesSuperseded

Changes in v4 from the cover letter

. move header file in patch #1 to avoid bpf-next merge conflict

Patches in v4 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: emit bpf_timer in vmlinux BTFkernel/bpf/helpers.c+2 -00 repliesApplied
2/2bpf: fix a bpf_timer initialization issueinclude/linux/bpf.h+2 -40 repliesApplied

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH bpf v4 0/2] bpf: fix a bpf_timer initialization issue

The patch [1] exposed a bpf_timer initialization bug in function check_and_init_map_value(). With bug fix here, the patch [1] can be applied with all selftests passed. Please see individual patches for fix details.

[1] https://lore.kernel.org/bpf/[email protected]/

Changelog:
v3 -> v4:
. move header file in patch #1 to avoid bpf-next merge conflict
v2 -> v3:
. switch patch #1 and patch #2 for better bisecting
v1 -> v2:
. add Fixes tag for patch #1
. rebase against bpf tree

Yonghong Song (2):
bpf: emit bpf_timer in vmlinux BTF
bpf: fix a bpf_timer initialization issue

 include/linux/bpf.h  | 6 ++----
 kernel/bpf/helpers.c | 2 ++
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.2