diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-27 19:04:10 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-03-01 00:53:45 +0100 |
commit | 5c3cf87d477a461274452cb46f7654c5b6ae6294 (patch) | |
tree | 29fa9024249fc4ab34e527ccfd11882d9487b494 /net/key | |
parent | ebace0e981b2aa6b2c0eb9bee0df3676fd690d8b (diff) | |
download | linux-5c3cf87d477a461274452cb46f7654c5b6ae6294.tar.gz linux-5c3cf87d477a461274452cb46f7654c5b6ae6294.tar.bz2 linux-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 <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>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions