aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-21 20:31:55 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:19 -0500
commitda0e28cb68a7e22b47c6ae1a5b12cb538c13c69f (patch)
treeac5bc308d4532f7cd271ee58c9bba5decf9699bd /net/ipv4/fib_semantics.c
parentba93ef746560df597b19bbcee04ce7ed70ebc700 (diff)
[NETNS]: Add netns parameter to fib_lookup.
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r--net/ipv4/fib_semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index 0e08df4d6f9a..ecd91c60975f 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -559,7 +559,7 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_info *fi,
559 /* It is not necessary, but requires a bit of thinking */ 559 /* It is not necessary, but requires a bit of thinking */
560 if (fl.fl4_scope < RT_SCOPE_LINK) 560 if (fl.fl4_scope < RT_SCOPE_LINK)
561 fl.fl4_scope = RT_SCOPE_LINK; 561 fl.fl4_scope = RT_SCOPE_LINK;
562 if ((err = fib_lookup(&fl, &res)) != 0) 562 if ((err = fib_lookup(&init_net, &fl, &res)) != 0)
563 return err; 563 return err;
564 } 564 }
565 err = -EINVAL; 565 err = -EINVAL;