diff options
| author | Hoyeon Lee <hoyeon.lee@suse.com> | 2025-11-21 17:13:32 +0900 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-11-21 10:46:31 -0800 |
| commit | db354a1577326b24b82af0c328789181a329f111 (patch) | |
| tree | a6f036e83d83bfdadf9ac60b2cffadd49140dc2d /tools/lib/python/jobserver.py | |
| parent | fd6ed07a05dc107605c50c786f9705d717bc0b30 (diff) | |
selftests/bpf: Use sockaddr_storage instead of sa46 in select_reuseport test
The select_reuseport selftest uses a custom sa46 union to represent
IPv4 and IPv6 addresses. This custom wrapper requires extra manual
handling for address family and field extraction.
Replace sa46 with sockaddr_storage and update the helper functions to
operate on native socket structures. This simplifies the code and
removes unnecessary custom address-handling logic. No functional
changes intended.
Reviewed-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Hoyeon Lee <hoyeon.lee@suse.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251121081332.2309838-3-hoyeon.lee@suse.com
Diffstat (limited to 'tools/lib/python/jobserver.py')
0 files changed, 0 insertions, 0 deletions
