diff options
author | Eric Dumazet <edumazet@google.com> | 2019-12-07 21:23:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-09 18:48:47 +0100 |
commit | f394722fb0d0f701119368959d7cd0ecbc46363a (patch) | |
tree | d3838cf1766c2faf7a89520aed6c8e59ee8c0bed /include | |
parent | Merge tag 'linux-can-fixes-for-5.5-20191208' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-f394722fb0d0f701119368959d7cd0ecbc46363a.tar.xz linux-f394722fb0d0f701119368959d7cd0ecbc46363a.zip |
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')
-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; |