From: Andrey Ignatov <rdna@fb.com>
To: <bpf@vger.kernel.org>
Cc: Andrey Ignatov <rdna@fb.com>, <ast@kernel.org>,
<daniel@iogearbox.net>, <kernel-team@fb.com>
Subject: [PATCH bpf-next 0/2] bpf: Narrow loads for bpf_sock_addr.user_port
Date: Wed, 13 May 2020 18:50:26 -0700 [thread overview]
Message-ID: <cover.1589420814.git.rdna@fb.com> (raw)
This patch set adds support for narrow loads from bpf_sock_addr.user_port
in BPF_PROG_TYPE_CGROUP_SOCK_ADDR program.s
Patch 1 adds narrow loads support for user_port.
Patch 2 tests it.
Andrey Ignatov (2):
bpf: Support narrow loads from bpf_sock_addr.user_port
selftests/bpf: Test narrow loads for bpf_sock_addr.user_port
include/uapi/linux/bpf.h | 2 +-
net/core/filter.c | 15 ++++----
tools/include/uapi/linux/bpf.h | 2 +-
tools/testing/selftests/bpf/test_sock_addr.c | 38 ++++++++++++++------
4 files changed, 37 insertions(+), 20 deletions(-)
--
2.24.1
next reply other threads:[~2020-05-14 1:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 1:50 Andrey Ignatov [this message]
2020-05-14 1:50 ` [PATCH bpf-next 1/2] bpf: Support narrow loads from bpf_sock_addr.user_port Andrey Ignatov
2020-05-14 16:52 ` Yonghong Song
2020-05-14 1:50 ` [PATCH bpf-next 2/2] selftests/bpf: Test narrow loads for bpf_sock_addr.user_port Andrey Ignatov
2020-05-14 17:08 ` Yonghong Song
2020-05-15 1:37 ` [PATCH bpf-next 0/2] bpf: Narrow " Alexei Starovoitov
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=cover.1589420814.git.rdna@fb.com \
--to=rdna@fb.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=kernel-team@fb.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.