[PATCH bpf-next 3/5] selftests/bpf: don't mask result of bpf_csum_diff() in test_verifier

Toke Høiland-Jørgensen toke at redhat.com
Tue Oct 22 02:55:31 PDT 2024


Puranjay Mohan <puranjay at kernel.org> writes:

> The bpf_csum_diff() helper has been fixed to return a 16-bit value for
> all archs, so now we don't need to mask the result.
>
> This commit is basically reverting the below:
>
> commit 6185266c5a85 ("selftests/bpf: Mask bpf_csum_diff() return value
> to 16 bits in test_verifier")
>
> Signed-off-by: Puranjay Mohan <puranjay at kernel.org>

Reviewed-by: Toke Høiland-Jørgensen <toke at redhat.com>




More information about the linux-riscv mailing list