We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2976706 commit 913d550Copy full SHA for 913d550
include/linux/filter.h
@@ -1246,15 +1246,6 @@ static inline u16 bpf_anc_helper(const struct sock_filter *ftest)
1246
void *bpf_internal_load_pointer_neg_helper(const struct sk_buff *skb,
1247
int k, unsigned int size);
1248
1249
-static inline void *bpf_load_pointer(const struct sk_buff *skb, int k,
1250
- unsigned int size, void *buffer)
1251
-{
1252
- if (k >= 0)
1253
- return skb_header_pointer(skb, k, size, buffer);
1254
-
1255
- return bpf_internal_load_pointer_neg_helper(skb, k, size);
1256
-}
1257
1258
static inline int bpf_tell_extensions(void)
1259
{
1260
return SKF_AD_MAX;
0 commit comments