Re: [PATCH] iptunnel: Set tun_flags in the iptunnel_metadata_reply from src

2018-12-24 Thread David Miller
From: we...@ucloud.cn Date: Sun, 23 Dec 2018 16:18:39 +0800 > From: wenxu > > ip l add tun type gretap external > ip r a 10.0.0.2 encap ip id 1000 dst 172.168.0.2 key dev tun > ip a a 10.0.0.1/24 dev tun > > The peer arp request to 10.0.0.1 with tunnel_id, but the arp reply > only set the tun_i

[PATCH] iptunnel: Set tun_flags in the iptunnel_metadata_reply from src

2018-12-23 Thread wenxu
From: wenxu ip l add tun type gretap external ip r a 10.0.0.2 encap ip id 1000 dst 172.168.0.2 key dev tun ip a a 10.0.0.1/24 dev tun The peer arp request to 10.0.0.1 with tunnel_id, but the arp reply only set the tun_id but not the tun_flags with TUNNEL_KEY. The arp reply packet don't contain t