diff options
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index 268f476ef3db..ca08ee88d07f 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -359,7 +359,7 @@ end: | |||
359 | return res; | 359 | return res; |
360 | } | 360 | } |
361 | 361 | ||
362 | int inet6_dump_fib(struct sk_buff *skb, struct netlink_callback *cb) | 362 | static int inet6_dump_fib(struct sk_buff *skb, struct netlink_callback *cb) |
363 | { | 363 | { |
364 | unsigned int h, s_h; | 364 | unsigned int h, s_h; |
365 | unsigned int e = 0, s_e; | 365 | unsigned int e = 0, s_e; |
@@ -1486,6 +1486,8 @@ void __init fib6_init(void) | |||
1486 | NULL, NULL); | 1486 | NULL, NULL); |
1487 | 1487 | ||
1488 | fib6_tables_init(); | 1488 | fib6_tables_init(); |
1489 | |||
1490 | __rtnl_register(PF_INET6, RTM_GETROUTE, NULL, inet6_dump_fib); | ||
1489 | } | 1491 | } |
1490 | 1492 | ||
1491 | void fib6_gc_cleanup(void) | 1493 | void fib6_gc_cleanup(void) |