ip_tunnel: Add ip tunnel dst_cache in ip_md_tunnel_xmit
authorwenxu <wenxu@ucloud.cn>
Tue, 22 Jan 2019 10:39:49 +0000 (18:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 17:43:03 +0000 (09:43 -0800)
commitf46fe4f8d787bd66005120460317939b8c6d7c70
tree63aecb91fc579f48646977cd142d7f668627fa63
parent662a14d0c71e9e775383b0fd6796c9eb47d29ecc
ip_tunnel: Add ip tunnel dst_cache in ip_md_tunnel_xmit

Add ip tunnel dst cache in ip_md_tunnel_xmit to make more
efficient for the route lookup.

Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c