diff options
author | Stanislav Fomichev <[email protected]> | 2020-08-07 15:38:46 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-08-11 15:36:51 +0200 |
commit | da7bdfdd23b858e6d97a1e4b461548e23d16977f (patch) | |
tree | 69683bc39eac273d84e170ebe458adce37e0f62c /scripts/gdb/linux/modules.py | |
parent | 0390c429dbed4068bd2cd8dded937d9a5ec24cd2 (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions