Re: [PATCH v2 bpf-next 1/4] bpf: Relax tuple len requirement for sk helpers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2024-06-10 at 16:08 -0700, Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@xxxxxxxxxx>
> 
> __bpf_skc_lookup() safely handles incorrect values of tuple len,
> hence we can allow zero to be passed as tuple len.
> This patch alone doesn't make an observable verifier difference.
> It's a trivial improvement that might simplify bpf programs.
> 
> Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
> ---

All seems correct.

Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux