From: Dmitry Yakunin <zeil@yandex-team.ru>
To: alexei.starovoitov@gmail.com, daniel@iogearbox.net,
netdev@vger.kernel.org, bpf@vger.kernel.org
Cc: sdf@google.com
Subject: [PATCH bpf-next v5 0/2] bpf: cgroup skb improvements for bpf_prog_test_run
Date: Mon, 3 Aug 2020 00:36:29 +0300 [thread overview]
Message-ID: <20200802213631.78937-1-zeil@yandex-team.ru> (raw)
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@intel.com>)
v3:
- fix build without CONFIG_IPV6 (kernel test robot <lkp@intel.com>)
v4:
- remove cgroup storage related commits for future rework (Daniel Borkmann)
v5:
- check skb length before access to inet headers (Eric Dumazet)
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(-)
--
2.7.4
next reply other threads:[~2020-08-02 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 21:36 Dmitry Yakunin [this message]
2020-08-02 21:36 ` [PATCH bpf-next v5 1/2] bpf: setup socket family and addresses in bpf_prog_test_run_skb Dmitry Yakunin
2020-08-02 22:48 ` Alexei Starovoitov
2020-08-02 21:36 ` [PATCH bpf-next v5 2/2] bpf: allow to specify ifindex for skb " Dmitry Yakunin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200802213631.78937-1-zeil@yandex-team.ru \
--to=zeil@yandex-team.ru \
--cc=alexei.starovoitov@gmail.com \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
--cc=sdf@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).