diff options
author | Gilad Naaman <gnaaman@drivenets.com> | 2024-11-07 16:04:42 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-09 13:22:57 -0800 |
commit | a01a67ab2fffa7458354f0a666a6d550fa2b82fc (patch) | |
tree | 5faa8e14f9822e332f874246e59d4d83f2c62852 /net/ipv4/arp.c | |
parent | 0e3bcb0f78a0ca7cfdb7906dc79d922e19ba09b5 (diff) | |
download | linux-stable-a01a67ab2fffa7458354f0a666a6d550fa2b82fc.tar.gz linux-stable-a01a67ab2fffa7458354f0a666a6d550fa2b82fc.tar.bz2 linux-stable-a01a67ab2fffa7458354f0a666a6d550fa2b82fc.zip |
neighbour: Remove bare neighbour::next pointer
Remove the now-unused neighbour::next pointer, leaving struct neighbour
solely with the hlist_node implementation.
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-6-gnaaman@drivenets.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r-- | net/ipv4/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 11c1519b3699..cb9a7ed8abd3 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c @@ -1215,7 +1215,7 @@ int arp_invalidate(struct net_device *dev, __be32 ip, bool force) NEIGH_UPDATE_F_ADMIN, 0); write_lock_bh(&tbl->lock); neigh_release(neigh); - neigh_remove_one(neigh, tbl); + neigh_remove_one(neigh); write_unlock_bh(&tbl->lock); } |