mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
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>
This commit is contained in:
committed by
Martin KaFai Lau
parent
7625d2e974
commit
e4fe1bf13e
@@ -437,7 +437,6 @@ struct udp_seq_afinfo {
|
||||
struct udp_iter_state {
|
||||
struct seq_net_private p;
|
||||
int bucket;
|
||||
struct udp_seq_afinfo *bpf_seq_afinfo;
|
||||
};
|
||||
|
||||
void *udp_seq_start(struct seq_file *seq, loff_t *pos);
|
||||
|
||||
Reference in New Issue
Block a user