Re: [PATCH v2 bpf-next 0/4] bpf_skb_ancestor_cgroup_id helper

2018-08-12 Thread Daniel Borkmann
On 08/12/2018 07:49 PM, Andrey Ignatov wrote: > v1->v2: > - more reliable check for testing IPv6 to become ready in selftest. > > This patch set adds new BPF helper bpf_skb_ancestor_cgroup_id that returns > id of cgroup v2 that is ancestor of cgroup associated with the skb at the >

[PATCH v2 bpf-next 0/4] bpf_skb_ancestor_cgroup_id helper

2018-08-12 Thread Andrey Ignatov
v1->v2: - more reliable check for testing IPv6 to become ready in selftest. This patch set adds new BPF helper bpf_skb_ancestor_cgroup_id that returns id of cgroup v2 that is ancestor of cgroup associated with the skb at the ancestor_level. The helper is useful to implement policies in TC based