Re: [PATCH v7 net-next 3/6] samples: bpf: add userspace example for modifying sk_bound_dev_if

2016-12-01 Thread Alexei Starovoitov
On Thu, Dec 01, 2016 at 08:48:05AM -0800, David Ahern wrote: > Add a simple program to demonstrate the ability to attach a bpf program > to a cgroup that sets sk_bound_dev_if for AF_INET{6} sockets when they > are created. > > Signed-off-by: David Ahern Acked-by:

[PATCH v7 net-next 3/6] samples: bpf: add userspace example for modifying sk_bound_dev_if

2016-12-01 Thread David Ahern
Add a simple program to demonstrate the ability to attach a bpf program to a cgroup that sets sk_bound_dev_if for AF_INET{6} sockets when they are created. Signed-off-by: David Ahern --- v7 - no change v6 - added conversion from device name to index in test program v5