udp: seq_file: Remove bpf_seq_afinfo from udp_iter_state
authorAditi Ghag <aditi.ghag@isovalent.com>
Fri, 19 May 2023 22:51:52 +0000 (22:51 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 20 May 2023 00:45:47 +0000 (17:45 -0700)
commite4fe1bf13e09019578b9b93b942fff3d76ed5793
treef7b7a4c3028fb41a41794675248334ef77356099
parent7625d2e9741c1f6e08ee79c28a1e27bbb5071805
udp: seq_file: Remove bpf_seq_afinfo from udp_iter_state

This is a preparatory commit to remove the field. The field was
previously shared between proc fs and BPF UDP socket iterators. As the
follow-up commits will decouple the implementation for the iterators,
remove the field. As for BPF socket iterator, filtering of sockets is
exepected to be done in BPF programs.

Suggested-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Aditi Ghag <aditi.ghag@isovalent.com>
Link: https://lore.kernel.org/r/20230519225157.760788-5-aditi.ghag@isovalent.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/net/udp.h
net/ipv4/udp.c