]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/ip6_input.c
x86: split spinlock implementations out into their own files
[linux-2.6-omap-h63xx.git] / net / ipv6 / ip6_input.c
index ea81c614dde2be1cf70c42f955ab96af3489b29e..7e14cccd0561d968e17e33a45ff9a76157990ebd 100644 (file)
@@ -249,7 +249,7 @@ int ip6_mc_input(struct sk_buff *skb)
        /*
         *      IPv6 multicast router mode is now supported ;)
         */
-       if (ipv6_devconf.mc_forwarding &&
+       if (dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding &&
            likely(!(IP6CB(skb)->flags & IP6SKB_FORWARDED))) {
                /*
                 * Okay, we try to forward - split and duplicate