]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: Add dst_cache support in lwtunnel_state of ip tunnel
authorwenxu <wenxu@ucloud.cn>
Sat, 23 Feb 2019 13:32:54 +0000 (21:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 06:13:49 +0000 (22:13 -0800)
commitdaa402c9d1cef5d293eca36ad5771eeabd52befb
tree79bf3fe040622c6c3ea21790fd4fb27127164fca
parent7cdec67a72cb9c084e3f17bf42cefc9abc0e0489
ip_tunnel: Add dst_cache support in lwtunnel_state of ip tunnel

The lwtunnel_state is not init the dst_cache Which make the
ip_md_tunnel_xmit can't use the dst_cache. It will lookup
route table every packets.

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