[NETNS]: Routing cache virtualization.
authorDenis V. Lunev <den@openvz.org>
Wed, 23 Jan 2008 07:50:25 +0000 (23:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:11:13 +0000 (15:11 -0800)
commitb5921910a1de4ba82add59154976c3dc7352c8c2
treec1de2c3734219548c2883777597247caa5450dc5
parenteee80592c3c1f7381c04913d9d3eb6e3c3c87628
[NETNS]: Routing cache virtualization.

Basically, this piece looks relatively easy. Namespace is already
available on the dst entry via device and the device is safe to
dereferrence. Compare it with one of a searcher and skip entry if
appropriate.

The only exception is ip_rt_frag_needed. So, add namespace parameter to it.

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