fixes for "add mptcp_subflow bpf_iter" v10
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- drop unused variable 'err'.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Squash to "bpf: Register mptcp common kfunc set"net/ | +6 | 0 replies | |
| 2/3 | Squash to "selftests/bpf: Add mptcp_subflow bpf_iter test prog"tools/ | +1 | 0 replies | |
| 3/3 | Squash to "selftests/bpf: Add mptcp_subflow bpf_iter subtest"tools/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH mptcp-next v2 0/3] fixes for "add mptcp_subflow bpf_iter" v10
From: Geliang Tang <[email protected]>
v2:
- drop unused variable 'err'.
There are two building errors in v10:
progs/mptcp_bpf_iters.c:24:8: error: call to undeclared function 'bpf_mptcp_sk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
24 | msk = bpf_mptcp_sk((struct sock *)sk);
| ^progs/mptcp_bpf_iters.c:24:6: error: incompatible integer to pointer conversion assigning to 'struct mptcp_sock *' from 'int' [-Wint-conversion]
24 | msk = bpf_mptcp_sk((struct sock *)sk);
tools/testing/selftests/bpf/prog_tests/mptcp.c: In function 'test_iters_subflow':tools/testing/selftests/bpf/prog_tests/mptcp.c:546:13: error: unused variable 'err' [-Werror=unused-variable]
546 | int err;
| ^~~
TEST-OBJ [test_progs] pe_preserve_elems.test.o
bpf_mptcp_sk() definition is missing. It will be used in patch 4. An unused variable 'err' needs to be dropped.
Depends on:
- "add mptcp_subflow bpf_iter" v10
Based-on: <[email protected]>
Geliang Tang (3):
Squash to "bpf: Register mptcp common kfunc set" Squash to "selftests/bpf: Add mptcp_subflow bpf_iter test prog" Squash to "selftests/bpf: Add mptcp_subflow bpf_iter subtest"
net/mptcp/bpf.c | 6 ++++++ tools/testing/selftests/bpf/prog_tests/mptcp.c | 1 - tools/testing/selftests/bpf/progs/mptcp_bpf.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0