]> git.hungrycats.org Git - linux/commitdiff
[PATCH] IPV6 ROUTE: Assign rt6i_idev for ip6_{prohibit,blk_hole}_entry.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 15 May 2007 07:15:44 +0000 (00:15 -0700)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:50 +0000 (14:32 -0700)
I think this is less critical, but is also suitable for -stable
release.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv6/addrconf.c

index 9b1ec9714ad6baaabe2df0c35f06c708f06bccda..a5411376c722e537dec1760981e69cc2d1cf38e0 100644 (file)
@@ -4062,6 +4062,10 @@ int __init addrconf_init(void)
                return err;
 
        ip6_null_entry.rt6i_idev = in6_dev_get(&loopback_dev);
+#ifdef CONFIG_IPV6_MULTIPLE_TABLES
+       ip6_prohibit_entry.rt6i_idev = in6_dev_get(&loopback_dev);
+       ip6_blk_hole_entry.rt6i_idev = in6_dev_get(&loopback_dev);
+#endif
 
        register_netdevice_notifier(&ipv6_dev_notf);