]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/exthdrs.c
FRV: Drop the .data.idt section for FRV
[linux-2.6-omap-h63xx.git] / net / ipv6 / exthdrs.c
index 2df34ed276f1e8cab5bbd3154678656dddbfc6d4..3cd1c993d52b8fa6988c84140ca9fc387e55f312 100644 (file)
@@ -445,7 +445,7 @@ looped_back:
                        kfree_skb(skb);
                        return -1;
                }
-               if (!ipv6_chk_home_addr(addr)) {
+               if (!ipv6_chk_home_addr(&init_net, addr)) {
                        IP6_INC_STATS_BH(ip6_dst_idev(skb->dst),
                                         IPSTATS_MIB_INADDRERRORS);
                        kfree_skb(skb);