new bpf_mptcp_sock()
Subsystems (7)
v5 cover new bpf_mptcp_sock()
RESEND:
- fix the CI Build Failure.
v5:
- fix incorrect token value
- verify the token in selftest
v4:
- define bpf_mptcp_sock_proto as a static function, no longer export it in linux/bpf.h
v3:
- use RET_PTR_TO_BTF_ID_OR_NULL instead of RET_PTR_TO_MPTCP_SOCK_OR_NULL
- add a new bpf_id BTF_SOCK_TYPE_MPTCP
v2:
- keep RET_PTR_TO_MPTCP_SOCK_OR_NULL. If we use RET_PTR_TO_BTF_ID_OR_NULL
instead of RET_PTR_TO_MPTCP_SOCK_OR_NULL as Alexei suggested, the "userspace" tests developed by Nicolas will break.
Geliang Tang (3):
Squash to "bpf: add 'bpf_mptcp_sock' structure and helper"
bpf: implement bpf_mptcp_sock()
selftests: bpf: exercise bpf_mptcp_sock()
include/linux/bpf.h | 20 ++----- include/linux/btf_ids.h | 3 +- kernel/bpf/verifier.c | 20 ------- net/core/filter.c | 13 +++++ net/mptcp/bpf.c | 52 ++++--------------- .../testing/selftests/bpf/prog_tests/mptcp.c | 27 ++++++++-- tools/testing/selftests/bpf/progs/mptcp.c | 22 ++++++++ 7 files changed, 73 insertions(+), 84 deletions(-)
Signature · 1 line
2.34.1
PATCH RESEND v5 1/3 Squash to "bpf: add 'bpf_mptcp_sock' structure and helper"
Drop RET_PTR_TO_MPTCP_SOCK and bpf_mptcp_sock_convert_ctx_access as Alexei suggested.
--- include/linux/bpf.h | 20 ------------------- kernel/bpf/verifier.c | 20 ------------------- net/core/filter.c | 4 ---- net/mptcp/bpf.c | 45 ------------------------------------------- 4 files changed, 89 deletions(-)
include/linux/bpf.h +0 -20
@@ -407,7 +407,6 @@ enum bpf_return_type {RET_PTR_TO_MAP_VALUE ,/* returns a pointer to map elem value */ RET_PTR_TO_SOCKET ,/* returns a pointer to a socket */ RET_PTR_TO_TCP_SOCK ,/* returns a pointer to a tcp_sock */ -RET_PTR_TO_MPTCP_SOCK ,/* returns a pointer to mptcp_sock */ RET_PTR_TO_SOCK_COMMON ,/* returns a pointer to a sock_common */ RET_PTR_TO_ALLOC_MEM ,/* returns a pointer to dynamically allocated memory */ RET_PTR_TO_MEM_OR_BTF_ID, /* returns a pointer to a valid memory or a btf_id */
@@ -418,7 +417,6 @@ enum bpf_return_type {RET_PTR_TO_MAP_VALUE_OR_NULL =PTR_MAYBE_NULL |RET_PTR_TO_MAP_VALUE ,RET_PTR_TO_SOCKET_OR_NULL =PTR_MAYBE_NULL |RET_PTR_TO_SOCKET ,RET_PTR_TO_TCP_SOCK_OR_NULL =PTR_MAYBE_NULL |RET_PTR_TO_TCP_SOCK , -RET_PTR_TO_MPTCP_SOCK_OR_NULL =PTR_MAYBE_NULL |RET_PTR_TO_MPTCP_SOCK ,RET_PTR_TO_SOCK_COMMON_OR_NULL =PTR_MAYBE_NULL |RET_PTR_TO_SOCK_COMMON ,RET_PTR_TO_ALLOC_MEM_OR_NULL =PTR_MAYBE_NULL |MEM_ALLOC |RET_PTR_TO_ALLOC_MEM , RET_PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | RET_PTR_TO_BTF_ID,
@@ -499,7 +497,6 @@ enum bpf_reg_type {PTR_TO_SOCKET ,/* reg points to struct bpf_sock */ PTR_TO_SOCK_COMMON ,/* reg points to sock_common */ PTR_TO_TCP_SOCK ,/* reg points to struct tcp_sock */ -PTR_TO_MPTCP_SOCK ,/* reg points to struct mptcp_sock */ PTR_TO_TP_BUFFER ,/* reg points to a writable raw tp's buffer */ PTR_TO_XDP_SOCK, /* reg points to struct xdp_sock *//* PTR_TO_BTF_ID points to a kernel struct that does not need
@@ -528,7 +525,6 @@ enum bpf_reg_type {PTR_TO_SOCKET_OR_NULL =PTR_MAYBE_NULL |PTR_TO_SOCKET ,PTR_TO_SOCK_COMMON_OR_NULL =PTR_MAYBE_NULL |PTR_TO_SOCK_COMMON ,PTR_TO_TCP_SOCK_OR_NULL =PTR_MAYBE_NULL |PTR_TO_TCP_SOCK , -PTR_TO_MPTCP_SOCK_OR_NULL =PTR_MAYBE_NULL |PTR_TO_MPTCP_SOCK , PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | PTR_TO_BTF_ID,/* This must be the last entry. Its purpose is to ensure the enum is
@@ -2221,7 +2217,6 @@ extern const struct bpf_func_proto bpf_get_local_storage_proto;extern const struct bpf_func_proto bpf_strtol_proto;extern const struct bpf_func_proto bpf_strtoul_proto;extern const struct bpf_func_proto bpf_tcp_sock_proto; -extern const struct bpf_func_proto bpf_mptcp_sock_proto;extern const struct bpf_func_proto bpf_jiffies64_proto;extern const struct bpf_func_proto bpf_get_ns_current_pid_tgid_proto;extern const struct bpf_func_proto bpf_event_output_data_proto;
@@ -2309,7 +2304,6 @@ struct sk_reuseport_kern {u32 reuseport_id;bool bind_inany; }; -bool bpf_tcp_sock_is_valid_access (int off,int size,enum bpf_access_type type,struct bpf_insn_access_aux *info);
@@ -2365,11 +2359,6 @@ bool bpf_mptcp_sock_is_valid_access(int off, int size,enum bpf_access_type type, struct bpf_insn_access_aux *info); -u32 bpf_mptcp_sock_convert_ctx_access (enum bpf_access_type type, -const struct bpf_insn *si, -struct bpf_insn *insn_buf, -struct bpf_prog *prog, -u32 *target_size);#else /* CONFIG_MPTCP */ static inline bool bpf_mptcp_sock_is_valid_access(int off, int size, enum bpf_access_type type,
@@ -2377,15 +2366,6 @@ static inline bool bpf_mptcp_sock_is_valid_access(int off, int size, {return false; } - -static inline u32 bpf_mptcp_sock_convert_ctx_access (enum bpf_access_type type, -const struct bpf_insn *si, -struct bpf_insn *insn_buf, -struct bpf_prog *prog, -u32 *target_size) -{ -return 0 ; -}#endif /* CONFIG_MPTCP */ enum bpf_text_poke_type {
kernel/bpf/verifier.c +0 -20
@@ -430,7 +430,6 @@ static bool type_is_sk_pointer(enum bpf_reg_type type)return type ==PTR_TO_SOCKET || type ==PTR_TO_SOCK_COMMON || type ==PTR_TO_TCP_SOCK || - type ==PTR_TO_MPTCP_SOCK || type ==PTR_TO_XDP_SOCK ; }
@@ -438,7 +437,6 @@ static bool reg_type_not_null(enum bpf_reg_type type) {return type ==PTR_TO_SOCKET || type ==PTR_TO_TCP_SOCK || - type ==PTR_TO_MPTCP_SOCK || type ==PTR_TO_MAP_VALUE || type ==PTR_TO_MAP_KEY || type ==PTR_TO_SOCK_COMMON ;
@@ -454,7 +452,6 @@ static bool reg_type_may_be_refcounted_or_null(enum bpf_reg_type type) {return base_type (type) ==PTR_TO_SOCKET ||base_type (type) ==PTR_TO_TCP_SOCK || -base_type (type) ==PTR_TO_MPTCP_SOCK ||base_type (type) ==PTR_TO_MEM ||base_type (type) ==PTR_TO_BTF_ID ; }
@@ -554,7 +551,6 @@ static const char *reg_type_str(struct bpf_verifier_env *env, [PTR_TO_SOCKET] = "sock", [PTR_TO_SOCK_COMMON] = "sock_common", [PTR_TO_TCP_SOCK] = "tcp_sock", - [PTR_TO_MPTCP_SOCK] = "mptcp_sock", [PTR_TO_TP_BUFFER] = "tp_buffer", [PTR_TO_XDP_SOCK] = "xdp_sock", [PTR_TO_BTF_ID] = "ptr_",
@@ -2778,7 +2774,6 @@ static bool is_spillable_regtype(enum bpf_reg_type type)case PTR_TO_SOCKET :case PTR_TO_SOCK_COMMON :case PTR_TO_TCP_SOCK : -case PTR_TO_MPTCP_SOCK :case PTR_TO_XDP_SOCK :case PTR_TO_BTF_ID :case PTR_TO_BUF :
@@ -3671,9 +3666,6 @@ static int check_sock_access(struct bpf_verifier_env *env, int insn_idx,case PTR_TO_TCP_SOCK : valid =bpf_tcp_sock_is_valid_access (off, size, t, &info);break ; -case PTR_TO_MPTCP_SOCK : - valid =bpf_mptcp_sock_is_valid_access (off, size, t, &info); -break ;case PTR_TO_XDP_SOCK : valid =bpf_xdp_sock_is_valid_access (off, size, t, &info);break ;
@@ -3830,9 +3822,6 @@ static int check_ptr_alignment(struct bpf_verifier_env *env,case PTR_TO_TCP_SOCK : pointer_desc ="tcp_sock " ;break ; -case PTR_TO_MPTCP_SOCK : - pointer_desc ="mptcp_sock " ; -break ;case PTR_TO_XDP_SOCK : pointer_desc ="xdp_sock " ;break ;
@@ -6762,9 +6751,6 @@ static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn }else if (base_type (ret_type) ==RET_PTR_TO_TCP_SOCK ) {mark_reg_known_zero (env, regs,BPF_REG_0 ); regs[BPF_REG_0 ].type =PTR_TO_TCP_SOCK | ret_flag; - }else if (base_type (ret_type) ==RET_PTR_TO_MPTCP_SOCK ) { -mark_reg_known_zero (env, regs,BPF_REG_0 ); - regs[BPF_REG_0 ].type =PTR_TO_MPTCP_SOCK | ret_flag; }else if (base_type (ret_type) ==RET_PTR_TO_ALLOC_MEM ) {mark_reg_known_zero (env, regs,BPF_REG_0 ); regs[BPF_REG_0 ].type =PTR_TO_MEM | ret_flag;
@@ -7479,7 +7465,6 @@ static int adjust_ptr_min_max_vals(struct bpf_verifier_env *env,case PTR_TO_SOCKET :case PTR_TO_SOCK_COMMON :case PTR_TO_TCP_SOCK : -case PTR_TO_MPTCP_SOCK :case PTR_TO_XDP_SOCK :verbose (env,"R%d pointer arithmetic on %s prohibited\n" , dst,reg_type_str (env, ptr_reg->type));
@@ -10854,7 +10839,6 @@ static bool regsafe(struct bpf_verifier_env *env, struct bpf_reg_state *rold,case PTR_TO_SOCKET :case PTR_TO_SOCK_COMMON :case PTR_TO_TCP_SOCK : -case PTR_TO_MPTCP_SOCK :case PTR_TO_XDP_SOCK :/* Only valid matches are exact, which memcmp() above * would have accepted
@@ -11385,7 +11369,6 @@ static bool reg_type_mismatch_ok(enum bpf_reg_type type)case PTR_TO_SOCKET :case PTR_TO_SOCK_COMMON :case PTR_TO_TCP_SOCK : -case PTR_TO_MPTCP_SOCK :case PTR_TO_XDP_SOCK :case PTR_TO_BTF_ID :return false;
@@ -12810,9 +12793,6 @@ static int convert_ctx_accesses(struct bpf_verifier_env *env)case PTR_TO_TCP_SOCK : convert_ctx_access = bpf_tcp_sock_convert_ctx_access;break ; -case PTR_TO_MPTCP_SOCK : - convert_ctx_access = bpf_mptcp_sock_convert_ctx_access; -break ;case PTR_TO_XDP_SOCK : convert_ctx_access = bpf_xdp_sock_convert_ctx_access;break ;
net/core/filter.c +0 -4
@@ -7850,10 +7850,6 @@ sock_ops_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)case BPF_FUNC_tcp_sock:return &bpf_tcp_sock_proto;#endif /* CONFIG_INET */ -#ifdef CONFIG_MPTCP -case BPF_FUNC_mptcp_sock: -return &bpf_mptcp_sock_proto; -#endif /* CONFIG_MPTCP */ default :return bpf_sk_base_func_proto (func_id); }
net/mptcp/bpf.c +0 -45
48 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH RESEND v5 2/3 bpf: implement bpf_mptcp_sock()
In reply to Geliang TangThis patch implemented the function bpf_mptcp_sock(). Defined a new bpf_id BTF_SOCK_TYPE_MPTCP, and added a new helper bpf_mptcp_sock_from_subflow() to get struct bpf_mptcp_sock from a given subflow socket.
--- include/linux/bpf.h | 6 ++++++ include/linux/btf_ids.h | 3 ++- net/core/filter.c | 17 +++++++++++++++++ net/mptcp/bpf.c | 15 +++++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-)
include/linux/bpf.h +6 -0
@@ -2359,6 +2359,7 @@ bool bpf_mptcp_sock_is_valid_access(int off, int size,enum bpf_access_type type, struct bpf_insn_access_aux *info); +struct bpf_mptcp_sock *bpf_mptcp_sock_from_subflow (struct sock *sk);#else /* CONFIG_MPTCP */ static inline bool bpf_mptcp_sock_is_valid_access(int off, int size, enum bpf_access_type type,
@@ -2366,6 +2367,11 @@ static inline bool bpf_mptcp_sock_is_valid_access(int off, int size, {return false; } + +static inline struct bpf_mptcp_sock *bpf_mptcp_sock_from_subflow (struct sock *sk) +{ +return NULL ; +}#endif /* CONFIG_MPTCP */ enum bpf_text_poke_type {
include/linux/btf_ids.h +2 -1
@@ -178,7 +178,8 @@ extern struct btf_id_set name; BTF_SOCK_TYPE(BTF_SOCK_TYPE_TCP6, tcp6_sock) \ BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \ BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP6, udp6_sock) \ - BTF_SOCK_TYPE(BTF_SOCK_TYPE_UNIX, unix_sock) + BTF_SOCK_TYPE(BTF_SOCK_TYPE_UNIX, unix_sock) \ + BTF_SOCK_TYPE(BTF_SOCK_TYPE_MPTCP, mptcp_sock) enum {#define BTF_SOCK_TYPE (name, str) name,
net/core/filter.c +17 -0
@@ -7395,6 +7395,19 @@ static const struct bpf_func_proto bpf_sock_ops_reserve_hdr_opt_proto = { .arg3_type = ARG_ANYTHING, }; +BPF_CALL_1(bpf_mptcp_sock, struct sock *, sk) +{ +return (unsigned long )bpf_mptcp_sock_from_subflow (sk); +} + +static const struct bpf_func_proto bpf_mptcp_sock_proto = { + .func = bpf_mptcp_sock, + .gpl_only = false, + .ret_type =RET_PTR_TO_BTF_ID_OR_NULL , + .arg1_type =ARG_PTR_TO_SOCK_COMMON , + .ret_btf_id = &btf_sock_ids[BTF_SOCK_TYPE_MPTCP ], +}; +#endif /* CONFIG_INET */ bool bpf_helper_changes_pkt_data (void *func)
@@ -7850,6 +7863,10 @@ sock_ops_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)case BPF_FUNC_tcp_sock:return &bpf_tcp_sock_proto;#endif /* CONFIG_INET */ +#ifdef CONFIG_MPTCP +case BPF_FUNC_mptcp_sock: +return &bpf_mptcp_sock_proto; +#endif /* CONFIG_MPTCP */ default :return bpf_sk_base_func_proto (func_id); }
net/mptcp/bpf.c +15 -0
@@ -25,3 +25,18 @@ bool bpf_mptcp_sock_is_valid_access(int off, int size, enum bpf_access_type typereturn size ==sizeof (__u32); } } + +struct bpf_mptcp_sock *bpf_mptcp_sock_from_subflow (struct sock *sk) +{ +if (sk &&sk_fullsock (sk) && sk->sk_protocol ==IPPROTO_TCP &&sk_is_mptcp (sk)) { +struct mptcp_subflow_context *subflow =mptcp_subflow_ctx (sk); +struct mptcp_sock *msk =mptcp_sk (subflow->conn); +struct bpf_mptcp_sock *bpf_msk; + + bpf_msk = (struct bpf_mptcp_sock *)subflow->conn; + bpf_msk->token = msk->token; +return bpf_msk; + } +return NULL ; +} +EXPORT_SYMBOL (bpf_mptcp_sock_from_subflow);
Signature · 1 line
2.34.1
Re: [PATCH RESEND mptcp-next v5 2/3] bpf: implement bpf_mptcp_sock()
Hi Geliang,
Quoted 3 lines · Geliang Tang
This patch implemented the function
bpf_mptcp_sock(). Defined a newbpf_idBTF_SOCK_TYPE_MPTCP, and added a new helperbpf_mptcp_sock_from_subflow()to get structbpf_mptcp_sockfrom a given subflow socket.
(...)
Quoted 9 lines
net/mptcp/bpf.c +1
-0@@ -25,3 +25,18 @@ bool bpf_mptcp_sock_is_valid_access(int off, int size, enum bpf_access_type typereturn size ==sizeof (__u32); } } +
net/mptcp/bpf.c bool bpf_mptcp_sock_is_valid_access(int off, int size, enum bpf_access_type type · line 38
Quoted 10 lines
net/mptcp/bpf.c +10
-0+struct bpf_mptcp_sock *bpf_mptcp_sock_from_subflow (struct sock *sk) +{ +if (sk &&sk_fullsock (sk) && sk->sk_protocol ==IPPROTO_TCP &&sk_is_mptcp (sk)) { +struct mptcp_subflow_context *subflow =mptcp_subflow_ctx (sk); +struct mptcp_sock *msk =mptcp_sk (subflow->conn); +struct bpf_mptcp_sock *bpf_msk; + + bpf_msk = (struct bpf_mptcp_sock *)subflow->conn; + bpf_msk->token = msk->token; +return bpf_msk;
If I'm not mistaken, you are still using this definition of the bpf_mptcp_sock structure:
struct bpf_mptcp_sock {
__u32 token;
};Is that correct?
If yes, what you are doing above doesn't seem correct: you cannot cast mptcp_sock into this structure. Or did I miss something?
In other words, I don't think you should return a bpf_mptcp_sock structure here but an mptcp_sock one: not a specific one for BPF. By doing that, we will be able to access all items of the MPTCP socket, not just the token you copy here in a new structure.
If we can access the mptcp_sock structure, we no longer need to convert anything and copy only some selected fields from what I understand.
It would then be similar to bpf_skc_to_tcp_sock() returning a "struct tcp_sock" pointer where it is possible to access all fields from it, not only what has been copied.
Do you see what I mean? :)
BTW it might be better to have a squash-to patch for "bpf: add 'bpf_mptcp_sock' structure and helper" which would also modify the commit title and message! From what I understood from Alexei, 'bpf_mptcp_sock' structure is no longer needed.
Cheers,
Matt
Signature · 2 lines
Tessares | Belgium | Hybrid Access Solutions www.tessares.net
PATCH RESEND v5 3/3 selftests: bpf: exercise bpf_mptcp_sock()
In reply to Geliang TangThis patch extended the MPTCP test base, to exercise bpf_mptcp_sock() from C test as Alexei suggested in v3.
--- .../testing/selftests/bpf/prog_tests/mptcp.c | 27 +++++++++++++++---- tools/testing/selftests/bpf/progs/mptcp.c | 22 +++++++++++++++ 2 files changed, 44 insertions(+), 5 deletions(-)
tools/testing/selftests/bpf/prog_tests/mptcp.c +22 -5
@@ -6,9 +6,11 @@struct mptcp_storage {__u32 invoked;__u32 is_mptcp; +__u32 token; }; -static int verify_sk (int map_fd,int client_fd,const char *msg,__u32 is_mptcp) +static int verify_sk (int map_fd,int client_fd,const char *msg, +__u32 is_mptcp,__u32 token) {int err =0 , cfd = client_fd;struct mptcp_storage val;
@@ -19,8 +21,23 @@ static int verify_sk(int map_fd, int client_fd, const char *msg, __u32 is_mptcp)* does not trigger sockops events. * We silently pass this situation at the moment. */ -if (is_mptcp ==1 ) -return 0 ; +if (is_mptcp ==1 ) { +if (token <=0 ) +return 0 ; + +if (CHECK_FAIL (bpf_map_lookup_elem (map_fd, &cfd, &val) <0 )) { +perror ("Failed to read socket storage" ); +return -1 ; + } + +if (val.token <=0 ) { +log_err ("%s: unexpected bpf_mptcp_sock.token %d %d" , + msg, val.token, token); + err++; + } + +return err; + }if (CHECK_FAIL (bpf_map_lookup_elem (map_fd, &cfd, &val) <0 )) {perror ("Failed to read socket storage" );
@@ -76,8 +93,8 @@ static int run_test(int cgroup_fd, int server_fd, bool is_mptcp) goto close_client_fd; } - err += is_mptcp ?verify_sk (map_fd, client_fd,"MPTCP subflow socket" ,1 ) : -verify_sk (map_fd, client_fd,"plain TCP socket" ,0 ); + err += is_mptcp ?verify_sk (map_fd, client_fd,"MPTCP subflow socket" ,1 ,1 ) : +verify_sk (map_fd, client_fd,"plain TCP socket" ,0 ,0 ); close_client_fd:close (client_fd);
tools/testing/selftests/bpf/progs/mptcp.c +22 -0
@@ -8,6 +8,7 @@ __u32 _version SEC("version") = 1;struct mptcp_storage {__u32 invoked;__u32 is_mptcp; +__u32 token; };struct {
@@ -20,6 +21,7 @@ struct { SEC("sockops")int _sockops (struct bpf_sock_ops *ctx) { +char fmt[] ="invoked=%u is_mptcp=%u token=%u\n" ;struct mptcp_storage *storage;struct bpf_tcp_sock *tcp_sk;int op = (int )ctx->op;
@@ -43,6 +45,26 @@ int _sockops(struct bpf_sock_ops *ctx) storage->invoked++; storage->is_mptcp = tcp_sk->is_mptcp; + storage->token =0 ; + +if (tcp_sk->is_mptcp) { +struct bpf_mptcp_sock *msk; + + msk =bpf_mptcp_sock (sk); +if (!msk) +return 1 ; + storage =bpf_sk_storage_get (&socket_storage_map, msk,0 , +BPF_SK_STORAGE_GET_F_CREATE ); +if (!storage) +return 1 ; + + storage->invoked++; + storage->token = msk->token; + storage->is_mptcp =1 ; + } + +bpf_trace_printk (fmt,sizeof (fmt), + storage->invoked, storage->is_mptcp, storage->token);return 1 ; }
Signature · 1 line
2.34.1
Re: selftests: bpf: exercise bpf_mptcp_sock(): Tests Results
Hi Geliang,
Thank you for your modifications, that's great!
Our CI did some validations and here is its report:
- {"code":404,"message":
- "HTTP 404 Not Found"}:
- Task: https://cirrus-ci.com/task/5615310962163712
- Summary: https://api.cirrus-ci.com/v1/artifact/task/5615310962163712/summary/summary.txt
- {"code":404,"message":
- "HTTP 404 Not Found"}:
- Task: https://cirrus-ci.com/task/4612997229314048
- Summary: https://api.cirrus-ci.com/v1/artifact/task/4612997229314048/summary/summary.txt
Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/c95f5f7ff117
Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)
Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (Tessares)
Re: selftests: bpf: exercise bpf_mptcp_sock(): Tests Results
In reply to Geliang TangHi Geliang,
Thank you for your modifications, that's great!
Our CI did some validations and here is its report:
- KVM Validation: normal:
- Success! ✅:
- Task: https://cirrus-ci.com/task/5047871987777536
- Summary: https://api.cirrus-ci.com/v1/artifact/task/5047871987777536/summary/summary.txt
- KVM Validation: debug:
- Unstable: 2 failed test(s): selftest_diag selftest_mptcp_join 🔴:
- Task: https://cirrus-ci.com/task/6455246871330816
- Summary: https://api.cirrus-ci.com/v1/artifact/task/6455246871330816/summary/summary.txt
Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/c95f5f7ff117
Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)
Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (Tessares)
Hi Geliang,
Quoted 2 lines · Geliang Tang
RESEND:
- fix the CI Build Failure.
For the next series, may you bump the version instead of using 'RESEND'.
It would be clearer. Bumping the version is not costly and typically, 'RESEND' means "resending the exact same content, potentially rebased".
Cheers,
Matt
Signature · 2 lines
Tessares | Belgium | Hybrid Access Solutions www.tessares.net
Quoted 8 lines · Matthieu Baerts <[email protected]> 于2022年3月3日周四 23:26写道:
Hi Geliang,
Quoted 2 lines · Geliang Tang
RESEND:
- fix the CI Build Failure.For the next series, may you bump the version instead of using 'RESEND'.
Sure!
Quoted 10 lines
It would be clearer. Bumping the version is not costly and typically, 'RESEND' means "resending the exact same content, potentially rebased".
Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net