diff options
author | Kal Conley <[email protected]> | 2023-04-10 14:18:41 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-04-13 14:51:02 +0200 |
commit | 0c5f48599bed55c13d6f979ea824554bdebdf2ad (patch) | |
tree | f0b8893de4e74e6439147e67bd9072aa75fe4a20 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
parent | ee5059a64dbad4806a3c11babd0dbed5a5d04ead (diff) |
xsk: Simplify xp_aligned_validate_desc implementation
Perform the chunk boundary check like the page boundary check in
xp_desc_crosses_non_contig_pg(). This simplifies the implementation and
reduces the number of branches.
Signed-off-by: Kal Conley <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions