diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index b37ae421b61b..3192a848a53a 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -4301,13 +4301,13 @@ int __init addrconf_init(void) | |||
4301 | if (err) | 4301 | if (err) |
4302 | goto errlo; | 4302 | goto errlo; |
4303 | 4303 | ||
4304 | ip6_null_entry.u.dst.dev = init_net.loopback_dev; | 4304 | ip6_null_entry->u.dst.dev = init_net.loopback_dev; |
4305 | ip6_null_entry.rt6i_idev = in6_dev_get(init_net.loopback_dev); | 4305 | ip6_null_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); |
4306 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | 4306 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES |
4307 | ip6_prohibit_entry.u.dst.dev = init_net.loopback_dev; | 4307 | ip6_prohibit_entry->u.dst.dev = init_net.loopback_dev; |
4308 | ip6_prohibit_entry.rt6i_idev = in6_dev_get(init_net.loopback_dev); | 4308 | ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); |
4309 | ip6_blk_hole_entry.u.dst.dev = init_net.loopback_dev; | 4309 | ip6_blk_hole_entry->u.dst.dev = init_net.loopback_dev; |
4310 | ip6_blk_hole_entry.rt6i_idev = in6_dev_get(init_net.loopback_dev); | 4310 | ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); |
4311 | #endif | 4311 | #endif |
4312 | 4312 | ||
4313 | register_netdevice_notifier(&ipv6_dev_notf); | 4313 | register_netdevice_notifier(&ipv6_dev_notf); |