Re: [PATCH v4 2/6] cgroup: add support for eBPF programs

2016-09-07 Thread Daniel Mack
On 09/06/2016 07:18 PM, Daniel Borkmann wrote: > On 09/06/2016 03:46 PM, Daniel Mack wrote: >> This patch adds two sets of eBPF program pointers to struct cgroup. >> One for such that are directly pinned to a cgroup, and one for such >> that are effective for it. >> >> To illustrate the logic

Re: [PATCH v4 2/6] cgroup: add support for eBPF programs

2016-09-06 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on net-next/master] [also build test ERROR on next-20160906] [cannot apply to linus/master linux/master v4.8-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=

Re: [PATCH v4 2/6] cgroup: add support for eBPF programs

2016-09-06 Thread Rami Rosen
Hi, + * __cgroup_bpf_update() - Update the pinned program of a cgroup, and + * propagate the change to descendants + * @cgrp: The cgroup which descendants to traverse Missing here is @parent + * @prog: A new program to pin + * @type: Type of pinning operation

Re: [PATCH v4 2/6] cgroup: add support for eBPF programs

2016-09-06 Thread Daniel Borkmann
On 09/06/2016 03:46 PM, Daniel Mack wrote: This patch adds two sets of eBPF program pointers to struct cgroup. One for such that are directly pinned to a cgroup, and one for such that are effective for it. To illustrate the logic behind that, assume the following example cgroup hierarchy. A

[PATCH v4 2/6] cgroup: add support for eBPF programs

2016-09-06 Thread Daniel Mack
This patch adds two sets of eBPF program pointers to struct cgroup. One for such that are directly pinned to a cgroup, and one for such that are effective for it. To illustrate the logic behind that, assume the following example cgroup hierarchy. A - B - C \ D - E If only B has a