neighbour: Convert seq_file functions to use hlist
authorGilad Naaman <gnaaman@drivenets.com>
Thu, 7 Nov 2024 16:04:40 +0000 (16:04 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Nov 2024 21:22:57 +0000 (13:22 -0800)
commit00df5e1a3fdf36624d59ef6ab09010ebaee6e66a
tree30b81b02b8b2f8ca4ab2ff815da21d62582a5fe4
parentd7ddee1a522ddf5b28e2a3f7093cf238c96f492a
neighbour: Convert seq_file functions to use hlist

Convert seq_file-related neighbour functionality to use neighbour::hash
and the related for_each macro.

Signed-off-by: Gilad Naaman <gnaaman@drivenets.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241107160444.2913124-4-gnaaman@drivenets.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/neighbour.c