+2
−0
samples/bpf/test_cgrp2_sock.c
0 → 100644
+83
−0
samples/bpf/test_cgrp2_sock.sh
0 → 100755
+47
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>