From: Alexei Starovoitov Date: Sat, 17 Nov 2018 01:54:30 +0000 (-0800) Subject: Merge branch 'socket-lookup-cg_sock' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae9435f696035894a57987ba25396818c756eeaf;p=openwrt%2Fstaging%2Fblogic.git 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 --- ae9435f696035894a57987ba25396818c756eeaf