[NETNS]: Modify the neighbour table code so it handles multiple network namespaces
[safe/jmp/linux-2.6] / net / decnet / dn_route.c
index 1ae5efc..938ba7d 100644 (file)
@@ -984,7 +984,7 @@ source_ok:
                 * here
                 */
                if (!try_hard) {
-                       neigh = neigh_lookup_nodev(&dn_neigh_table, &fl.fld_dst);
+                       neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fl.fld_dst);
                        if (neigh) {
                                if ((oldflp->oif &&
                                    (neigh->dev->ifindex != oldflp->oif)) ||