| commit | ad2805dc79e647ec2aee931a51924fda9d03b2fc | [log] [tgz] |
|---|---|---|
| author | David Ahern <dsa@cumulusnetworks.com> | Thu Dec 01 08:48:05 2016 -0800 |
| committer | David S. Miller <davem@davemloft.net> | Fri Dec 02 13:46:08 2016 -0500 |
| tree | 29fbf69d8d6f5f3067a5febb1ad862c1c1f32611 | |
| parent | 61023658760032e97869b07d54be9681d2529e77 [diff] |
samples: bpf: add userspace example for modifying sk_bound_dev_if
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 <dsa@cumulusnetworks.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>