Skip to content

Commit 1c354fa

Browse files
jschwinger233brb
authored andcommitted
bpf: Fix broken filter with --filter-trace-xdp
Signed-off-by: gray <[email protected]>
1 parent 195950a commit 1c354fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bpf/kprobe_pwru.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,8 @@ int BPF_PROG(fentry_xdp, struct xdp_buff *xdp) {
698698
goto cont;
699699
}
700700

701+
return BPF_OK;
702+
701703
cont:
702704
set_xdp_output(ctx, xdp, &event);
703705
}

0 commit comments

Comments
 (0)