samples: bpf: remove load_sock_ops in favour of bpftool
bpftool can do all the things load_sock_ops used to do, and more. Point users to bpftool instead of maintaining this sample utility. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:

committed by
Daniel Borkmann

parent
5c3cf87d47
commit
ea9b636201
@@ -8,7 +8,7 @@
|
||||
* and the first 5.5 bytes of the IPv6 addresses are the same (in this example
|
||||
* that means both hosts are in the same datacenter).
|
||||
*
|
||||
* Use load_sock_ops to load this BPF program.
|
||||
* Use "bpftool cgroup attach $cg sock_ops $prog" to load this BPF program.
|
||||
*/
|
||||
|
||||
#include <uapi/linux/bpf.h>
|
||||
|
Reference in New Issue
Block a user