[PATCH bpf 0/7] Misc fixes for bpf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hou Tao <houtao1@xxxxxxxxxx>

Hi,

The patch set is just a bundle of fixes. Patch #1 fixes the out-of-bound
for sockmap link fdinfo. Patch #2 fixes the kmemleak report when parsing
the mount options for bpffs. Patch #3~#7 fix issues related to bits
iterator.

Please check the individual patches for more details. And comments are
always welcome.

Hou Tao (7):
  bpf: Add the missing BPF_LINK_TYPE invocation for sockmap
  bpf: Preserve param->string when parsing mount options
  bpf: Free dynamically allocated bits in bpf_iter_bits_destroy()
  bpf: Check the validity of nr_words in bpf_iter_bits_new()
  bpf: Change the type of unsafe_ptr in bpf_iter_bits_new()
  selftests/bpf: Test multiplication overflow of nr_bits in bits_iter
  selftests/bpf: Pass a pointer of unsigned long to bpf_iter_bits_new()

 include/linux/bpf_types.h                     |  1 +
 include/uapi/linux/bpf.h                      |  3 ++
 kernel/bpf/helpers.c                          | 30 +++++++++-----
 kernel/bpf/inode.c                            |  5 ++-
 .../selftests/bpf/progs/verifier_bits_iter.c  | 40 +++++++++++++------
 5 files changed, 54 insertions(+), 25 deletions(-)

-- 
2.29.2





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux