Commit d2274bd
Squash to "selftests/bpf: Add mptcp_subflow bpf_iter subtest"
IPPROTO_MPTCP is checked in bpf_mptcp_sk(), no need to check it in BPF
program.
bpf_mptcp_sk() and bpf_mptcp_subflow_ctx() may return NULL, need to
check the return values.
Signed-off-by: Geliang Tang <[email protected]>1 parent 1faebcc commit d2274bd
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
0 commit comments