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

2018-01-18 Thread David Miller
From: Alexey Kodanev Date: Thu, 18 Jan 2018 20:51:12 +0300 > Commit b05229f44228 ("gre6: Cleanup GREv6 transmit path, > call common GRE functions") moved dev->mtu initialization > from ip6gre_tunnel_setup() to ip6gre_tunnel_init(), as a > result, the previously set values, before ndo_init(), are

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

2018-01-18 Thread Alexey Kodanev
Commit b05229f44228 ("gre6: Cleanup GREv6 transmit path, call common GRE functions") moved dev->mtu initialization from ip6gre_tunnel_setup() to ip6gre_tunnel_init(), as a result, the previously set values, before ndo_init(), are reset in the following cases: * rtnl_create_link() can update dev->m