Re: [PATCH bpf-next v2 07/15] bpf: add bpf_seq_afinfo in udp_iter_state

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

 



On Sat, Jun 20, 2020 at 10:55:07PM -0700, Yonghong Song wrote:
> Similar to tcp_iter_state, a new field bpf_seq_afinfo is
> added to udp_iter_state to provide bpf udp iterator
> afinfo.
> 
> This does not change /proc/net/{udp, udp6} behavior. But
> it enables bpf iterator to avoid get afinfo from PDE_DATA
> and iterate through all udp and udp6 sockets in one pass.
Acked-by: Martin KaFai Lau <kafai@xxxxxx>



[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