diff options
author | wenxu <wenxu@ucloud.cn> | 2019-01-19 13:11:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:37:56 +0100 |
commit | 35e074ebdadb8f2f186d189269b05fd3297b2341 (patch) | |
tree | 7c43fa337966c3ee56c4d892a81b288fd8aec468 /net/psample | |
parent | c3513e5c27a7e6113012c9dcabcbc65975a55025 (diff) |
ip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel
[ Upstream commit d71b57532d70c03f4671dd04e84157ac6bf021b0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions