aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-02-28 03:04:10 +0000
committerDaniel Borkmann <[email protected]>2019-02-28 23:53:45 +0000
commit5c3cf87d477a461274452cb46f7654c5b6ae6294 (patch)
tree29fa9024249fc4ab34e527ccfd11882d9487b494 /tools/bpf/bpftool/prog.c
parentselftests/bpf: use __bpf_constant_htons in test_prog.c for flow dissector (diff)
downloadkernel-5c3cf87d477a461274452cb46f7654c5b6ae6294.tar.gz
kernel-5c3cf87d477a461274452cb46f7654c5b6ae6294.zip
samples: bpf: force IPv4 in ping
ping localhost may default of IPv6 on modern systems, but samples are trying to only parse IPv4. Force IPv4. samples/bpf/tracex1_user.c doesn't interpret the packet so we don't care which IP version will be used there. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions