Re: [PATCH bpf-next 1/5] bpf: add BPF_CGROUP_INET{4,6}_SOCK_RELEASE hooks

2019-01-17 Thread kbuild test robot
Hi Stanislav, Thank you for the patch! Yet something to improve: [auto build test ERROR on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Stanislav-Fomichev/bpf-add-BPF_CGROUP_INET-4-6-_SOCK_RELEASE-hooks/20190118-141334 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH bpf-next 1/5] bpf: add BPF_CGROUP_INET{4,6}_SOCK_RELEASE hooks

2019-01-17 Thread kbuild test robot
Hi Stanislav, Thank you for the patch! Yet something to improve: [auto build test ERROR on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Stanislav-Fomichev/bpf-add-BPF_CGROUP_INET-4-6-_SOCK_RELEASE-hooks/20190118-141334 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH bpf-next 1/5] bpf: add BPF_CGROUP_INET{4,6}_SOCK_RELEASE hooks

2019-01-17 Thread Andrey Ignatov
Stanislav Fomichev [Thu, 2019-01-17 16:41 -0800]: > These hooks mirror existing BPF_CGROUP_INET{4,6}_SOCK hooks (which > trigger upon socket creation), but trigger when the socket is closed. > > Signed-off-by: Stanislav Fomichev > --- > include/linux/bpf-cgroup.h | 6 ++ > include/net/inet

[PATCH bpf-next 1/5] bpf: add BPF_CGROUP_INET{4,6}_SOCK_RELEASE hooks

2019-01-17 Thread Stanislav Fomichev
These hooks mirror existing BPF_CGROUP_INET{4,6}_SOCK hooks (which trigger upon socket creation), but trigger when the socket is closed. Signed-off-by: Stanislav Fomichev --- include/linux/bpf-cgroup.h | 6 ++ include/net/inet_common.h | 1 + include/uapi/linux/bpf.h | 2 ++ kernel/bpf