]> git.ipfire.org Git - thirdparty/linux.git/commit
neighbour: Define neigh_for_each_in_bucket
authorGilad Naaman <gnaaman@drivenets.com>
Thu, 7 Nov 2024 16:04:39 +0000 (16:04 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Nov 2024 21:22:56 +0000 (13:22 -0800)
commitd7ddee1a522ddf5b28e2a3f7093cf238c96f492a
tree4307093b3a4abf802c4085261a73103d32d433c1
parent41b3caa7c0761141aa6d508924b9d23db57a17bc
neighbour: Define neigh_for_each_in_bucket

Introduce neigh_for_each_in_bucket in neighbour.h, to help iterate over
the neighbour table more succinctly.

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-3-gnaaman@drivenets.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/neighbour.h