]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Merge branch 'bpf-ancestor-cgroup-id'
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 12 Aug 2018 23:02:40 +0000 (01:02 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 12 Aug 2018 23:02:41 +0000 (01:02 +0200)
commit2ce3206b9eb3943de09f3bf4ec9134568420d8b9
tree7903c536230dc9665d7ebbae2166f1e39cfebd72
parente8d2bec0457962e8f348a9a3627b398f7fe5c5fc
parent5ecd8c22739b9a5f6d6431234decd912aa3f48ad
Merge branch 'bpf-ancestor-cgroup-id'

Andrey Ignatov says:

====================
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 on cgroups that are
upper in hierarchy than immediate cgroup associated with skb.

v1->v2:
- more reliable check for testing IPv6 to become ready in selftest.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>