diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-11-10 18:59:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 15:23:54 -0500 |
commit | d7480fd3b1738a8eae6a76098b17af318cf9b9cc (patch) | |
tree | 559ba1e8e583fec97c223f31b3657023e71febfb /net/ipv4 | |
parent | b2e2f0c779fefede3a871781c8827bd8e76c7c0f (diff) |
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>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 16acb59d665e..205e1472aa78 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
@@ -1292,7 +1292,7 @@ static int arp_proc_init(void); | |||
1292 | 1292 | ||
1293 | void __init arp_init(void) | 1293 | void __init arp_init(void) |
1294 | { | 1294 | { |
1295 | neigh_table_init(&arp_tbl); | 1295 | neigh_table_init(NEIGH_ARP_TABLE, &arp_tbl); |
1296 | 1296 | ||
1297 | dev_add_pack(&arp_packet_type); | 1297 | dev_add_pack(&arp_packet_type); |
1298 | arp_proc_init(); | 1298 | arp_proc_init(); |