diff options
author | Eric Dumazet | 2019-12-07 12:23:21 -0800 |
---|---|---|
committer | David S. Miller | 2019-12-09 09:48:47 -0800 |
commit | f394722fb0d0f701119368959d7cd0ecbc46363a (patch) | |
tree | d3838cf1766c2faf7a89520aed6c8e59ee8c0bed /include/net | |
parent | 43aad8104bdaa7176a8f87143ac0e559bc891293 (diff) |
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')
-rw-r--r-- | include/net/neighbour.h | 1 |
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; |