Skip to content

Commit 2dfd8b8

Browse files
author
Martin KaFai Lau
committed
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 <[email protected]>
2 parents 02614ee + 54728bd commit 2dfd8b8

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
@@ -1822,7 +1822,7 @@ static inline void bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, voi
18221822

18231823
static inline void *bpf_skb_meta_pointer(struct sk_buff *skb, u32 offset)
18241824
{
1825-
return NULL;
1825+
return ERR_PTR(-EOPNOTSUPP);
18261826
}
18271827
#endif /* CONFIG_NET */
18281828

0 commit comments

Comments
 (0)