neighbour: remove neigh_cleanup() method
authorEric Dumazet <edumazet@google.com>
Sat, 7 Dec 2019 20:23:21 +0000 (12:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2019 17:48:47 +0000 (09:48 -0800)
commitf394722fb0d0f701119368959d7cd0ecbc46363a
treed3838cf1766c2faf7a89520aed6c8e59ee8c0bed
parent43aad8104bdaa7176a8f87143ac0e559bc891293
neighbour: remove neigh_cleanup() method

neigh_cleanup() has not been used for seven years, and was a wrong design.

Messing with shared pointer in bond_neigh_init() without proper
memory barriers would at least trigger syzbot complains eventually.

It is time to remove this stuff.

Fixes: b63b70d87741 ("IPoIB: Use a private hash table for path lookup in xmit path")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/net/neighbour.h
net/core/neighbour.c