Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some test failures for bpf_nat_test.c #24534

Merged
merged 2 commits into from
Mar 23, 2023

Commits on Mar 23, 2023

  1. bpf,test: Disable coverage report for bpf_nat_tests.o

    This test is affected by coverbee's bug. Add it to the exclude pattern.
    
    cilium/coverbee#7
    
    Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
    YutaroHayakawa committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    053a172 View commit details
    Browse the repository at this point in the history
  2. bpf,test: Fix missing __align_stack_8 to bpf_nat_tests.c

    Coccicheck pointed out following
    
    * file ./tests/bpf_nat_tests.c: missing __align_stack_8 on icmphdr on line 56
    * file ./tests/bpf_nat_tests.c: missing __align_stack_8 on inner_l4 on line 114
    * file ./tests/bpf_nat_tests.c: missing __align_stack_8 on in_l4hdr on line 431
    
    Fix them by adding missing __align_stack_8.
    
    Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
    YutaroHayakawa committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    f47ab90 View commit details
    Browse the repository at this point in the history