diff options
| author | 2025-09-04 21:22:00 -0700 | |
|---|---|---|
| committer | 2025-09-04 21:22:00 -0700 | |
| commit | 2dfd8b8de66d9b0ef16d089e4d4525acf2a59cb2 (patch) | |
| tree | 754bdd0072da3c133995a6bfab64eb0d60232f89 /include | |
| parent | idpf: do not linearize big TSO packets (diff) | |
| parent | bpf: Return an error pointer for skb metadata when CONFIG_NET=n (diff) | |
| download | wireguard-linux-2dfd8b8de66d9b0ef16d089e4d4525acf2a59cb2.tar.xz wireguard-linux-2dfd8b8de66d9b0ef16d089e4d4525acf2a59cb2.zip | |
Merge branch 'bpf-next/skb-meta-dynptr' into 'bpf-next/net'
Merge skb-meta-dynptr branch into net branch after fixing a compiler
warning. No conflict.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/filter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index 9ed21b65e2e9..af6d9354662c 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -1822,7 +1822,7 @@ static inline void bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, voi static inline void *bpf_skb_meta_pointer(struct sk_buff *skb, u32 offset) { - return NULL; + return ERR_PTR(-EOPNOTSUPP); } #endif /* CONFIG_NET */ |
