sit: use dst_cache in ipip6_tunnel_xmit
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sun, 14 Jul 2019 13:31:22 +0000 (21:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jul 2019 19:15:28 +0000 (12:15 -0700)
commit6e3d1bbbba55265d327e44a2d14de70462232853
tree5c99611881e99bb1f6bcc313c72310ba45af6b87
parent14b4c48bb1ce6ff429a9288c9579cc984193ebaf
sit: use dst_cache in ipip6_tunnel_xmit

Same as other ip tunnel, use dst_cache in xmit action to avoid
unnecessary fib lookups.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c