mbox series

[bpf-next,v2,0/2] BPF selftests misc fixes

Message ID cover.1720615848.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series BPF selftests misc fixes | expand

Message

Geliang Tang July 10, 2024, 1:10 p.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v2:
 - only check the first "link" (link_nl) in test_mixed_links().
 - Drop patch 2 in v1.

Resend patch 1 out of "skip ENOTSUPP BPF selftests" set as Eduard
suggested. Together with another fix for xdp_adjust_tail.

Geliang Tang (2):
  selftests/bpf: Null checks for links in bpf_tcp_ca
  selftests/bpf: Close obj in error path in xdp_adjust_tail

 .../selftests/bpf/prog_tests/bpf_tcp_ca.c        | 16 ++++++++++++----
 .../selftests/bpf/prog_tests/xdp_adjust_tail.c   |  2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 10, 2024, 7:50 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@kernel.org>:

On Wed, 10 Jul 2024 21:10:15 +0800 you wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> v2:
>  - only check the first "link" (link_nl) in test_mixed_links().
>  - Drop patch 2 in v1.
> 
> Resend patch 1 out of "skip ENOTSUPP BPF selftests" set as Eduard
> suggested. Together with another fix for xdp_adjust_tail.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/2] selftests/bpf: Null checks for links in bpf_tcp_ca
    https://git.kernel.org/bpf/bpf-next/c/eef0532e900c
  - [bpf-next,v2,2/2] selftests/bpf: Close obj in error path in xdp_adjust_tail
    https://git.kernel.org/bpf/bpf-next/c/52b49ec1b2c7

You are awesome, thank you!
Martin KaFai Lau July 10, 2024, 7:50 p.m. UTC | #2
On 7/10/24 6:10 AM, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> v2:
>   - only check the first "link" (link_nl) in test_mixed_links().
>   - Drop patch 2 in v1.
> 
> Resend patch 1 out of "skip ENOTSUPP BPF selftests" set as Eduard
> suggested. Together with another fix for xdp_adjust_tail.

This is not very useful as a cover letter to summarize what has been fixed. I 
need to go back to the "skip ENOTSUPP BPF selftests". I beefed it up a little.

I also added the Fixes tag before applying. Please remember to add Fixes tag 
next time for bug fixing.

Thanks for the fixes.