Skip to content

Commit 9621eb6

Browse files
author
Martin KaFai Lau
committed
Merge branch 'bpf-next/skb-meta-dynptr' into 'bpf-next/master'
Merge skb-meta-dynptr branch into master branch after fixing a compiler warning. No conflict. Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2 parents b338cf8 + 54728bd commit 9621eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ static inline void bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, voi
18161816

18171817
static inline void *bpf_skb_meta_pointer(struct sk_buff *skb, u32 offset)
18181818
{
1819-
return NULL;
1819+
return ERR_PTR(-EOPNOTSUPP);
18201820
}
18211821
#endif /* CONFIG_NET */
18221822

0 commit comments

Comments
 (0)