Re: [PATCH 1/2] ip6_gre: Fix MTU setting for ip6gretap

2016-05-20 Thread David Miller
From: Haishuang Yan Date: Wed, 18 May 2016 18:05:51 +0800 > When creat an ip6gretap interface with an unreachable route, > the MTU is about 14 bytes larger than what was needed. > > If the remote address is reachable: > ping6 2001:0:130::1 -c 2 > PING 2001:0:130::1(2001:0:130::1) 56 data bytes >

[PATCH 1/2] ip6_gre: Fix MTU setting for ip6gretap

2016-05-18 Thread Haishuang Yan
When creat an ip6gretap interface with an unreachable route, the MTU is about 14 bytes larger than what was needed. If the remote address is reachable: ping6 2001:0:130::1 -c 2 PING 2001:0:130::1(2001:0:130::1) 56 data bytes 64 bytes from 2001:0:130::1: icmp_seq=1 ttl=64 time=1.46 ms 64 bytes from