]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/anycast.c
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-omap-h63xx.git] / net / ipv6 / anycast.c
index 4e1b29fabdf0da93e8b5f6edca9e0fd89efb4418..8336cd81cb4ffbef03708de15f2faad55a5f936d 100644 (file)
@@ -60,7 +60,7 @@ int ipv6_sock_ac_join(struct sock *sk, int ifindex, struct in6_addr *addr)
        struct inet6_dev *idev;
        struct ipv6_ac_socklist *pac;
        struct net *net = sock_net(sk);
-       int     ishost = !ipv6_devconf.forwarding;
+       int     ishost = !net->ipv6.devconf_all->forwarding;
        int     err = 0;
 
        if (!capable(CAP_NET_ADMIN))