]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite43afc041caa6098db91c8d7b3c149052207be76
tree5c99611881e99bb1f6bcc313c72310ba45af6b87
parenta9b4de8f598d7aa7fa0650f81a116587253d26ba
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