commit | d71b57532d70c03f4671dd04e84157ac6bf021b0 | [log] [tgz] |
---|---|---|
author | wenxu <wenxu@ucloud.cn> | Sat Jan 19 13:11:25 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 24 17:54:12 2019 -0800 |
tree | ada00d0ab5a5a040df915f8786d520d07cec01f1 | |
parent | 63530aba7826a0f8e129874df9c4d264f9db3f9e [diff] |
ip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel ip l add dev tun type gretap key 1000 ip a a dev tun 10.0.0.1/24 Packets with tun-id 1000 can be recived by tun dev. But packet can't be sent through dev tun for non-tunnel-dst With this patch: tunnel-dst can be get through lwtunnel like beflow: ip r a 10.0.0.7 encap ip dst 172.168.0.11 dev tun Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: David S. Miller <davem@davemloft.net>