Skip to content

Commit 63193d4

Browse files
committed
add tail call
Signed-off-by: sweeywu <sweetwx6@gmail.com>
1 parent f7de52a commit 63193d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/bpf_ut/workload_cgroup_sock_test.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
#include "bpf_log.h"
44
#include "bpf_common.h"
55

6-
7-
SEC("cgroup/connect4")
6+
SEC("cgroup/connect4")
87
int cgroup_connect4_tail(struct bpf_sock_addr *ctx)
98
{
109
BPF_LOG(INFO, KMESH, ">> Tail called into cgroup_connect_tail!\n");
1110
return 1;
1211
}
13-
SEC("cgroup/connect6")
12+
SEC("cgroup/connect6")
1413
int cgroup_connect6_tail(struct bpf_sock_addr *ctx)
1514
{
1615
BPF_LOG(INFO, KMESH, ">> Tail called into cgroup_connect_tail!\n");

0 commit comments

Comments
 (0)