Re: [PATCH bpf-next v6 0/2] bpf: cgroup skb improvements for bpf_prog_test_run

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

 



On 8/3/20 11:05 AM, Dmitry Yakunin wrote:
This patchset contains some improvements for testing cgroup/skb programs
through BPF_PROG_TEST_RUN command.

v2:
   - fix build without CONFIG_CGROUP_BPF (kernel test robot <lkp@xxxxxxxxx>)

v3:
   - fix build without CONFIG_IPV6 (kernel test robot <lkp@xxxxxxxxx>)

v4:
   - remove cgroup storage related commits for future rework (Daniel Borkmann)

v5:
   - check skb length before access to inet headers (Eric Dumazet)

v6:
   - do not use pskb_may_pull() in skb length checking (Alexei Starovoitov)

Dmitry Yakunin (2):
   bpf: setup socket family and addresses in bpf_prog_test_run_skb
   bpf: allow to specify ifindex for skb in bpf_prog_test_run_skb

  net/bpf/test_run.c                               | 39 ++++++++++++++++++++++--
  tools/testing/selftests/bpf/prog_tests/skb_ctx.c |  5 +++
  2 files changed, 42 insertions(+), 2 deletions(-)


Looks good, applied, thanks!



[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