-
Notifications
You must be signed in to change notification settings - Fork 150
selftests/bpf: Fix failure path in send_signal test #10267
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
Conversation
|
Upstream branch: 3249e8a |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: |
|
Forwarding comment 3526005172 via email |
910d3ce to
50dc55d
Compare
|
Upstream branch: f1d8c65 |
dfcd8cb to
bf6a4fc
Compare
|
Upstream branch: f1d8c65 |
bf6a4fc to
d6f81c0
Compare
50dc55d to
f882b4c
Compare
|
Upstream branch: 93ce3be |
d6f81c0 to
5bd65b3
Compare
f882b4c to
4752827
Compare
|
Upstream branch: 93ce3be |
5bd65b3 to
9607b71
Compare
4752827 to
05f2f03
Compare
|
Upstream branch: c1da3df |
9607b71 to
450ea7f
Compare
05f2f03 to
c343f72
Compare
|
Upstream branch: e5d2e34 |
450ea7f to
2cd2e9d
Compare
c343f72 to
6a32d09
Compare
|
Upstream branch: fea3f5e |
2cd2e9d to
8081eeb
Compare
6a32d09 to
b967d93
Compare
|
Upstream branch: 63066b7 |
When test_send_signal_kern__open_and_load() fails parent closes the pipe which cases ASSERT_EQ(read(pipe_p2c...)) to fail, but child continues and enters infinite loop, while parent is stuck in wait(NULL). Fix the issue by killing the child before jumping to skel_open_load_failure. The bug was discovered while compiling all of selftests with -O1 instead of -O2 which caused progs/test_send_signal_kern.c to fail to load. Signed-off-by: Alexei Starovoitov <[email protected]> Tested-by: Yonghong Song <[email protected]>
8081eeb to
efaa8ba
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1022813 expired. Closing PR. |
Pull request for series with
subject: selftests/bpf: Fix failure path in send_signal test
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1022813