|
@@ -2861,7 +2861,7 @@ static const struct bpf_func_proto bpf_skb_event_output_proto = {
|
|
.arg2_type = ARG_CONST_MAP_PTR,
|
|
.arg2_type = ARG_CONST_MAP_PTR,
|
|
.arg3_type = ARG_ANYTHING,
|
|
.arg3_type = ARG_ANYTHING,
|
|
.arg4_type = ARG_PTR_TO_MEM,
|
|
.arg4_type = ARG_PTR_TO_MEM,
|
|
- .arg5_type = ARG_CONST_SIZE,
|
|
|
|
|
|
+ .arg5_type = ARG_CONST_SIZE_OR_ZERO,
|
|
};
|
|
};
|
|
|
|
|
|
static unsigned short bpf_tunnel_key_af(u64 flags)
|
|
static unsigned short bpf_tunnel_key_af(u64 flags)
|
|
@@ -3150,7 +3150,7 @@ static const struct bpf_func_proto bpf_xdp_event_output_proto = {
|
|
.arg2_type = ARG_CONST_MAP_PTR,
|
|
.arg2_type = ARG_CONST_MAP_PTR,
|
|
.arg3_type = ARG_ANYTHING,
|
|
.arg3_type = ARG_ANYTHING,
|
|
.arg4_type = ARG_PTR_TO_MEM,
|
|
.arg4_type = ARG_PTR_TO_MEM,
|
|
- .arg5_type = ARG_CONST_SIZE,
|
|
|
|
|
|
+ .arg5_type = ARG_CONST_SIZE_OR_ZERO,
|
|
};
|
|
};
|
|
|
|
|
|
BPF_CALL_1(bpf_get_socket_cookie, struct sk_buff *, skb)
|
|
BPF_CALL_1(bpf_get_socket_cookie, struct sk_buff *, skb)
|