Re: [PATCH bpf-next] bpf: explicitly prohibit ctx_{in,out} in non-skb BPF_PROG_TEST_RUN

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

 



On 04/12/2019 12:47 AM, Stanislav Fomichev wrote:
> This should allow us later to extend BPF_PROG_TEST_RUN for non-skb case
> and be sure that nobody is erroneously setting ctx_{in,out}.
> 
> Fixes: b0b9395d865e ("bpf: support input __sk_buff context in BPF_PROG_TEST_RUN")
> Reported-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxx>

Looks good, applied, thanks!



[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