netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf v3 0/6] Fix unconnected bpf cgroup hooks
@ 2019-06-06 23:48 Daniel Borkmann
  2019-06-06 23:48 ` [PATCH bpf v3 1/6] bpf: fix unconnected udp hooks Daniel Borkmann
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Daniel Borkmann @ 2019-06-06 23:48 UTC (permalink / raw)
  To: alexei.starovoitov; +Cc: kafai, rdna, m, bpf, netdev, Daniel Borkmann

Please refer to the patch 1/6 as the main patch with the details
on the current sendmsg hook API limitations and proposal to fix
it in order to work with basic applications like DNS. Remaining
patches are the usual uapi and tooling updates as well as test
cases. Thanks a lot!

v2 -> v3:
  - Add attach types to test_section_names.c and libbpf (Andrey)
  - Added given Acks, rest as-is
v1 -> v2:
  - Split off uapi header sync and bpftool bits (Martin, Alexei)
  - Added missing bpftool doc and bash completion as well

Daniel Borkmann (6):
  bpf: fix unconnected udp hooks
  bpf: sync tooling uapi header
  bpf, libbpf: enable recvmsg attach types
  bpf, bpftool: enable recvmsg attach types
  bpf: more msg_name rewrite tests to test_sock_addr
  bpf: expand section tests for test_section_names

 include/linux/bpf-cgroup.h                    |   8 +
 include/uapi/linux/bpf.h                      |   2 +
 kernel/bpf/syscall.c                          |   8 +
 kernel/bpf/verifier.c                         |  12 +-
 net/core/filter.c                             |   2 +
 net/ipv4/udp.c                                |   4 +
 net/ipv6/udp.c                                |   4 +
 .../bpftool/Documentation/bpftool-cgroup.rst  |   6 +-
 .../bpftool/Documentation/bpftool-prog.rst    |   2 +-
 tools/bpf/bpftool/bash-completion/bpftool     |   5 +-
 tools/bpf/bpftool/cgroup.c                    |   5 +-
 tools/bpf/bpftool/prog.c                      |   3 +-
 tools/include/uapi/linux/bpf.h                |   2 +
 tools/lib/bpf/libbpf.c                        |   4 +
 .../selftests/bpf/test_section_names.c        |  10 +
 tools/testing/selftests/bpf/test_sock_addr.c  | 213 ++++++++++++++++--
 16 files changed, 264 insertions(+), 26 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-06 23:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06 23:48 [PATCH bpf v3 0/6] Fix unconnected bpf cgroup hooks Daniel Borkmann
2019-06-06 23:48 ` [PATCH bpf v3 1/6] bpf: fix unconnected udp hooks Daniel Borkmann
2019-06-06 23:48 ` [PATCH bpf v3 2/6] bpf: sync tooling uapi header Daniel Borkmann
2019-06-06 23:48 ` [PATCH bpf v3 3/6] bpf, libbpf: enable recvmsg attach types Daniel Borkmann
2019-06-06 23:49 ` [PATCH bpf v3 4/6] bpf, bpftool: " Daniel Borkmann
2019-06-06 23:49 ` [PATCH bpf v3 5/6] bpf: more msg_name rewrite tests to test_sock_addr Daniel Borkmann
2019-06-06 23:49 ` [PATCH bpf v3 6/6] bpf: expand section tests for test_section_names Daniel Borkmann
2019-06-06 23:56 ` [PATCH bpf v3 0/6] Fix unconnected bpf cgroup hooks Alexei Starovoitov

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).