diff options
author | 2024-10-11 00:08:03 +0000 | |
---|---|---|
committer | 2024-10-10 19:11:28 -0700 | |
commit | b836cbdf3b81a4a22b3452186efa2e5105a77e10 (patch) | |
tree | e8ab78470cdacf7e5c4607faf6d3bc761413c0ed /net/core | |
parent | bpf: Fix unpopulated path_size when uprobe_multi fields unset (diff) | |
download | wireguard-linux-b836cbdf3b81a4a22b3452186efa2e5105a77e10.tar.xz wireguard-linux-b836cbdf3b81a4a22b3452186efa2e5105a77e10.zip |
selftests/bpf: Assert link info uprobe_multi count & path_size if unset
Add assertions in `bpf_link_info.uprobe_multi` test to verify that
`count` and `path_size` fields are correctly populated when the fields
are unset.
This tests a previous bug where the `path_size` field was not populated
when `path` and `path_size` were unset.
Signed-off-by: Tyrone Wu <wudevelops@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241011000803.681190-2-wudevelops@gmail.com
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions