From: Tom Herbert Date: Thu, 2 Jan 2014 19:48:26 +0000 (-0800) Subject: ipv4: Cache dst in tunnels X-Git-Tag: v3.14-rc1~94^2~308^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d442fab0a6777fd7612cfcada32ea859553d370;p=pandora-kernel.git ipv4: Cache dst in tunnels Avoid doing a route lookup on every packet being tunneled. In ip_tunnel.c cache the route returned from ip_route_output if the tunnel is "connected" so that all the rouitng parameters are taken from tunnel parms for a packet. Specifically, not NBMA tunnel and tos is from tunnel parms (not inner packet). Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed