[NETNS]: Add netns parameter to fib_select_default.
authorDenis V. Lunev <den@openvz.org>
Wed, 23 Jan 2008 06:04:04 +0000 (22:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:11:03 +0000 (15:11 -0800)
commit010278ec4cdf404aefc0bbd5e7406674fec95286
tree11bd9546231f92214289c2db4bd8f2bc94153d27
parent64c2d5382954ccf6054424653f4c7f4f04c1ff21
[NETNS]: Add netns parameter to fib_select_default.

Currently fib_select_default calls fib_get_table() with the
init_net. Prepare it to provide a correct namespace to lookup default
route.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c
net/ipv4/route.c