Skip to content

Commit

Permalink
bpf: Fix broken filter with --filter-trace-xdp
Browse files Browse the repository at this point in the history
Signed-off-by: gray <[email protected]>
  • Loading branch information
jschwinger233 authored and brb committed Oct 16, 2024
1 parent 195950a commit 1c354fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bpf/kprobe_pwru.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ int BPF_PROG(fentry_xdp, struct xdp_buff *xdp) {
goto cont;
}

return BPF_OK;

cont:
set_xdp_output(ctx, xdp, &event);
}
Expand Down

0 comments on commit 1c354fa

Please sign in to comment.