mbox series

[bpf,v2,0/2] bpf: fix a bpf_timer initialization issue

Message ID 20220211152054.1584283-1-yhs@fb.com (mailing list archive)
Headers show
Series bpf: fix a bpf_timer initialization issue | expand

Message

Yonghong Song Feb. 11, 2022, 3:20 p.m. UTC
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/20220209070324.1093182-2-memxor@gmail.com/

Changelog:
  v1 -> v2:
    . add Fixes tag for patch #1
    . rebase against bpf tree

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

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