]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: Add ip tunnel tun_info type dst_cache in ip_tunnel_xmit
authorwenxu <wenxu@ucloud.cn>
Sun, 24 Feb 2019 00:24:45 +0000 (08:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 06:22:33 +0000 (22:22 -0800)
commit617514a68d283b6d518d1cfc93de0b315a8a49b8
tree5942f9b59ca86c361821e66b6fe2013d685a82b2
parent38303de3ec36db7cdbc230a467f9b6fe5a6caebf
ip_tunnel: Add ip tunnel tun_info type dst_cache in ip_tunnel_xmit

ip l add dev tun type gretap key 1000

Non-tunnel-dst ip tunnel device can send packet through lwtunnel
This patch provide the tun_inf dst cache support for this mode.

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