diff options
author | Alexei Starovoitov <ast@kernel.org> | 2018-11-17 04:54:30 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-17 04:54:30 +0300 |
commit | ae9435f696035894a57987ba25396818c756eeaf (patch) | |
tree | 22cd3a19d8d16ade62ed4be8ec0bd5c1b723f723 /tools/bpf | |
parent | ac8acec9912a93be9953446766e0bb73aeeecc64 (diff) | |
parent | 9108e3a023d3e4e77d94b589b07d397b0a790285 (diff) | |
download | linux-ae9435f696035894a57987ba25396818c756eeaf.tar.xz |
Merge branch 'socket-lookup-cg_sock'
Andrey Ignatov says:
====================
This patch set makes bpf_sk_lookup_tcp, bpf_sk_lookup_udp and
bpf_sk_release helpers available in programs of type
BPF_PROG_TYPE_CGROUP_SOCK_ADDR.
Patch 1 is a fix for bpf_sk_lookup_udp that was already merged to bpf
(stable) tree. Here it's prerequisite for patch 3.
Patch 2 is the main patch in the set, it makes the helpers available for
BPF_PROG_TYPE_CGROUP_SOCK_ADDR and provides more details about use-case.
Patch 3 adds selftest for new functionality.
v1->v2:
- remove "Split bpf_sk_lookup" patch since it was already split by:
commit c8123ead13a5 ("bpf: Extend the sk_lookup() helper to XDP
hookpoint.");
- avoid unnecessary bpf_sock_addr_sk_lookup function.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions