Re: [PATCH bpf-next v6 03/23] bpf/verifier: do not clear meta in check_mem_size

From: Yonghong Song
Date: Fri Jul 15 2022 - 20:04:06 EST




On 7/12/22 7:58 AM, Benjamin Tissoires wrote:
The purpose of this clear is to prevent meta->raw_mode to be evaluated
at true, but this also prevents to forward any other data to the other
callees.

Only switch back raw_mode to false so we don't entirely clear meta.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>