summaryrefslogtreecommitdiff
path: root/samples/bpf/test_cgrp2_sock.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-12-02samples: bpf: add userspace example for modifying sk_bound_dev_ifDavid Ahern1-0/+47
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>