diff options
author | Stanislav Fomichev <sdf@google.com> | 2020-08-07 15:38:46 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-08-11 15:36:51 +0200 |
commit | da7bdfdd23b858e6d97a1e4b461548e23d16977f (patch) | |
tree | 69683bc39eac273d84e170ebe458adce37e0f62c /samples/auxdisplay | |
parent | 0390c429dbed4068bd2cd8dded937d9a5ec24cd2 (diff) | |
download | linux-da7bdfdd23b858e6d97a1e4b461548e23d16977f.tar.bz2 |
selftests/bpf: Fix v4_to_v6 in sk_lookup
I'm getting some garbage in bytes 8 and 9 when doing conversion
from sockaddr_in to sockaddr_in6 (leftover from AF_INET?). Let's
explicitly clear the higher bytes.
Fixes: 0ab5539f8584 ("selftests/bpf: Tests for BPF_SK_LOOKUP attach point")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/20200807223846.4190917-1-sdf@google.com
Diffstat (limited to 'samples/auxdisplay')
0 files changed, 0 insertions, 0 deletions