mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b2e2f0c779
commit
d7480fd3b1
5 changed files with 133 additions and 149 deletions
|
@ -1292,7 +1292,7 @@ static int arp_proc_init(void);
|
|||
|
||||
void __init arp_init(void)
|
||||
{
|
||||
neigh_table_init(&arp_tbl);
|
||||
neigh_table_init(NEIGH_ARP_TABLE, &arp_tbl);
|
||||
|
||||
dev_add_pack(&arp_packet_type);
|
||||
arp_proc_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue