udp: seq_file: Helper function to match socket attributes
authorAditi Ghag <aditi.ghag@isovalent.com>
Fri, 19 May 2023 22:51:50 +0000 (22:51 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 20 May 2023 00:45:46 +0000 (17:45 -0700)
commitf44b1c515833c59701c86f92d47b4edd478fb0f3
tree9a3fc20384b722f969ac72700b0f919afc3d01fd
parent9378096e8a656fb5c4099b26b1370c56f056eab9
udp: seq_file: Helper function to match socket attributes

This is a preparatory commit to refactor code that matches socket
attributes in iterators to a helper function, and use it in the
proc fs iterator.

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