]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/fib_rules.c
[NETNS]: Process FIB rule action in the context of the namespace.
[karo-tx-linux.git] / net / ipv4 / fib_rules.c
index 3b7affd5cb3bed1bef3925d0e49ecc4b57fa4d2a..d2001f1c28a271accb227e330d87027b755f6001 100644 (file)
@@ -91,7 +91,7 @@ static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp,
                goto errout;
        }
 
-       if ((tbl = fib_get_table(&init_net, rule->table)) == NULL)
+       if ((tbl = fib_get_table(rule->fr_net, rule->table)) == NULL)
                goto errout;
 
        err = tbl->tb_lookup(tbl, flp, (struct fib_result *) arg->result);