summaryrefslogtreecommitdiff
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-12-07 23:23:21 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-09 20:48:47 +0300
commitf394722fb0d0f701119368959d7cd0ecbc46363a (patch)
treed3838cf1766c2faf7a89520aed6c8e59ee8c0bed /include/net/neighbour.h
parent43aad8104bdaa7176a8f87143ac0e559bc891293 (diff)
downloadlinux-f394722fb0d0f701119368959d7cd0ecbc46363a.tar.xz
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>
Diffstat (limited to 'include/net/neighbour.h')
-rw-r--r--include/net/neighbour.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 6ad9ad47a9c5..8ec77bfdc1a4 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -72,7 +72,6 @@ struct neigh_parms {
struct net_device *dev;
struct list_head list;
int (*neigh_setup)(struct neighbour *);
- void (*neigh_cleanup)(struct neighbour *);
struct neigh_table *tbl;
void *sysctl_table;