[NETNS]: Pass correct namespace in ip_rt_get_source.
authorDenis V. Lunev <den@openvz.org>
Tue, 22 Jan 2008 01:35:06 +0000 (17:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:23 +0000 (15:10 -0800)
commitecfdc8c5424079393a9b05e8a5aaf5c6873029f6
treee15ed74491e1bcfbfe5cee1d7964e5c334663ea2
parent84a885f44961c17a91cae9a9c03e4b3dae5d8d94
[NETNS]: Pass correct namespace in ip_rt_get_source.

ip_rt_get_source is the infamous place for which dst_ifdown kludges
have been implemented. This means that rt->u.dst.dev can be safely
dereferrenced obtain nd_net.

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