Skip to content

Commit

Permalink
kmod: make bpf_xdp_pointer() function non static as it present now in…
Browse files Browse the repository at this point in the history
…t hte filter.h, but not exported
  • Loading branch information
vankoven committed Aug 30, 2024
1 parent 79629c6 commit a80834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kmod/rex.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ __bpf_kfunc int bpf_scan_bytes(const void *buf, __u32 buf__sz,
}
EXPORT_SYMBOL(bpf_scan_bytes);

static void *bpf_xdp_pointer(struct xdp_buff *xdp, u32 offset, u32 len)
void *bpf_xdp_pointer(struct xdp_buff *xdp, u32 offset, u32 len)
{
u32 size = xdp->data_end - xdp->data;
struct skb_shared_info *sinfo;
Expand Down

0 comments on commit a80834e

Please sign in to comment.