On 03/31/2018 12:07 AM, Alexei Starovoitov wrote:
> v2->v3:
> - rebase due to conflicts
> - fix ipv6=m build
> 
> v1->v2:
> - support expected_attach_type at prog load time so that prog (incl.
>   context accesses and calls to helpers) can be validated with regard to
>   specific attach point it is supposed to be attached to.
>   Later, at attach time, attach type is checked so that it must be same as
>   at load time if it was provided
> - reworked hooks to rely on expected_attach_type, and reduced number of new
>   prog types from 6 to just 1: BPF_PROG_TYPE_CGROUP_SOCK_ADDR
> - reused BPF_PROG_TYPE_CGROUP_SOCK for sys_bind post-hooks
> - add selftests for post-sys_bind hook
[...]

Applied to bpf-next, thanks everyone!

Reply via email to