Re: [PATCH net] ip6_gre: init dev->mtu and dev->hard_header_len correctly

2018-01-17 Thread Alexey Kodanev
On 01/16/2018 07:32 PM, David Miller wrote: > From: Alexey Kodanev > Date: Thu, 11 Jan 2018 16:02:54 +0300 > >> For ip6gretap, reset dev->mtu to zero in ip6gre_tap_setup() >> after ether_setup(), in order for it to work with the new check >> in ip6gre_tunnel_init_common(). > > This part is error

Re: [PATCH net] ip6_gre: init dev->mtu and dev->hard_header_len correctly

2018-01-16 Thread David Miller
From: Alexey Kodanev Date: Thu, 11 Jan 2018 16:02:54 +0300 > For ip6gretap, reset dev->mtu to zero in ip6gre_tap_setup() > after ether_setup(), in order for it to work with the new check > in ip6gre_tunnel_init_common(). This part is error prone. Please instead add a new boolean argument to ip6