Re: [PATCH bpf-next] bpf: Fix a verifier message for alloc size helper arg

From: Yonghong Song
Date: Tue Jan 12 2021 - 11:43:40 EST




On 1/12/21 4:39 AM, Brendan Jackman wrote:
The error message here is misleading, the argument will be rejected
unless it is a known constant.

Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>

Okay, this is for bpf_ringbuf_reserve() helper where the size must be a constant.

Acked-by: Yonghong Song <yhs@xxxxxx>