neighbour: add RCU protection to neigh_tables[]
authorEric Dumazet <edumazet@google.com>
Thu, 18 Apr 2024 09:51:04 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2024 11:39:20 +0000 (12:39 +0100)
commitf8f2eb9de69a1119117d198547c13d7a1123a5a9
treeae369c62a8c3711b3c443c9d21b0071fd1e02844
parent9fc31a9251de4acaab2d0704450d70ddc99f5ea2
neighbour: add RCU protection to neigh_tables[]

In order to remove RTNL protection from neightbl_dump_info()
and neigh_dump_info() later, we need to add
RCU protection to neigh_tables[].

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c