Re: [PATCH net] vrf: sit mtu should not be updated when vrf netdev is the link

2019-05-07 Thread David Miller
From: Stephen Suryaputra Date: Mon, 6 May 2019 15:00:01 -0400 > VRF netdev mtu isn't typically set and have an mtu of 65536. When the > link of a tunnel is set, the tunnel mtu is changed from 1480 to the link > mtu minus tunnel header. In the case of VRF netdev is the link, then the > tunnel mtu

Re: [PATCH net] vrf: sit mtu should not be updated when vrf netdev is the link

2019-05-06 Thread David Ahern
On 5/6/19 2:28 PM, Stephen Suryaputra wrote: > On Mon, May 06, 2019 at 01:54:16PM -0600, David Ahern wrote: >> On 5/6/19 1:00 PM, Stephen Suryaputra wrote: >>> VRF netdev mtu isn't typically set and have an mtu of 65536. When the >>> link of a tunnel is set, the tunnel mtu is changed from 1480 to t

Re: [PATCH net] vrf: sit mtu should not be updated when vrf netdev is the link

2019-05-06 Thread Stephen Suryaputra
On Mon, May 06, 2019 at 01:54:16PM -0600, David Ahern wrote: > On 5/6/19 1:00 PM, Stephen Suryaputra wrote: > > VRF netdev mtu isn't typically set and have an mtu of 65536. When the > > link of a tunnel is set, the tunnel mtu is changed from 1480 to the link > > mtu minus tunnel header. In the case

Re: [PATCH net] vrf: sit mtu should not be updated when vrf netdev is the link

2019-05-06 Thread David Ahern
On 5/6/19 1:00 PM, Stephen Suryaputra wrote: > VRF netdev mtu isn't typically set and have an mtu of 65536. When the > link of a tunnel is set, the tunnel mtu is changed from 1480 to the link > mtu minus tunnel header. In the case of VRF netdev is the link, then the > tunnel mtu becomes 65516. So,

[PATCH net] vrf: sit mtu should not be updated when vrf netdev is the link

2019-05-06 Thread Stephen Suryaputra
VRF netdev mtu isn't typically set and have an mtu of 65536. When the link of a tunnel is set, the tunnel mtu is changed from 1480 to the link mtu minus tunnel header. In the case of VRF netdev is the link, then the tunnel mtu becomes 65516. So, fix it by not setting the tunnel mtu in this case. S