Message ID | tencent_CD94B9310E4F3464B4D83B0942EA0EA28409@qq.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | [bpf-next] bpf: Allow error injection for update_socket_protocol | expand |
Context | Check | Description |
---|---|---|
matttbe/build | success | Build and static analysis OK |
matttbe/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 7 lines checked |
matttbe/shellcheck | success | MPTCP selftests files have not been modified |
matttbe/KVM_Validation__normal | warning | Unstable: 1 failed test(s): mptcp_connect_mmap |
matttbe/KVM_Validation__debug | success | Success! ✅ |
matttbe/KVM_Validation__btf__only_bpftest_all_ | success | Success! ✅ |
Hi Gang, Thank you for your modifications, that's great! Our CI did some validations and here is its report: - KVM Validation: normal: Unstable: 1 failed test(s): mptcp_connect_mmap
diff --git a/net/socket.c b/net/socket.c index fcbdd5bc47ac..63ce1caf75eb 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1695,6 +1695,7 @@ __weak noinline int update_socket_protocol(int family, int type, int protocol) { return protocol; } +ALLOW_ERROR_INJECTION(update_socket_protocol, ERRNO); __bpf_hook_end();