diff options
author | 2014-01-02 11:48:26 -0800 | |
---|---|---|
committer | 2014-01-03 19:38:45 -0500 | |
commit | 7d442fab0a6777fd7612cfcada32ea859553d370 (patch) | |
tree | 3d5282fdd3007f33565e482e2dffbdd55dab7703 /net/tipc | |
parent | sctp: Add process name and pid to deprecation warnings (diff) | |
download | wireguard-linux-7d442fab0a6777fd7612cfcada32ea859553d370.tar.xz wireguard-linux-7d442fab0a6777fd7612cfcada32ea859553d370.zip |
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 <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions