This small helper allows for accessing net_cls cgroups classid. Please see individual patches for more details.
Thanks! Daniel Borkmann (2): cls_cgroup: factor out classid retrieval ebpf: add helper to retrieve net_cls cgroup id include/net/cls_cgroup.h | 29 +++++++++++++++++++++++++++++ include/uapi/linux/bpf.h | 7 +++++++ net/core/filter.c | 15 +++++++++++++++ net/sched/cls_cgroup.c | 23 ++--------------------- 4 files changed, 53 insertions(+), 21 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html