Commit c7f2188d authored by Shigeru Yoshida's avatar Shigeru Yoshida Committed by Alexei Starovoitov
Browse files

selftests/bpf: Adjust data size to have ETH_HLEN



The function bpf_test_init() now returns an error if user_size
(.data_size_in) is less than ETH_HLEN, causing the tests to
fail. Adjust the data size to ensure it meets the requirement of
ETH_HLEN.

Signed-off-by: default avatarShigeru Yoshida <syoshida@redhat.com>
Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250121150643.671650-2-syoshida@redhat.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 6b3d638c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment