Skip to content

bpf: Narrow loads for bpf_sock_addr.user_port

Andrey Ignatov bpf 1 version Applied

Status from this message: Applied. Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: Support narrow loads from bpf_sock_addr.user_portinclude/uapi/linux/bpf.h net/core/filter.c tools/include/uapi/linux/bpf.h+9 -101 reply
2/2selftests/bpf: Test narrow loads for bpf_sock_addr.user_porttools/testing/selftests/bpf/test_sock_addr.c+28 -101 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYonghong Song
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] bpf: Narrow loads for bpf_sock_addr.user_port

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(-)
Signature · 1 line
2.24.1