neigh: remove dynamic neigh table registration support
Currently there are only three neigh tables in the whole kernel: arp table, ndisc table and decnet neigh table. What's more, we don't support registering multiple tables per family. Therefore we can just make these tables statically built-in. Cc: David S. Miller <davem@davemloft.net> Signed-off-by:Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/neighbour.h 9 additions, 2 deletionsinclude/net/neighbour.h
- net/core/neighbour.c 112 additions, 135 deletionsnet/core/neighbour.c
- net/decnet/dn_neigh.c 2 additions, 2 deletionsnet/decnet/dn_neigh.c
- net/ipv4/arp.c 1 addition, 1 deletionnet/ipv4/arp.c
- net/ipv6/ndisc.c 2 additions, 2 deletionsnet/ipv6/ndisc.c
Please register or sign in to comment