The first two patches don't introduce any functional changes and contain minor cleanups for code readability.
The last one adds a new function geneve_link_config() similar to the other tunnels. The function will be used on a new link creation or when 'remote' parameter is changed. It adjusts a user specified MTU or, if it finds a lower device, tunes the tunnel MTU using it. Alexey Kodanev (4): geneve: remove white-space before '#if IS_ENABLED(CONFIG_IPV6)' geneve: cleanup hard coded value for Ethernet header length geneve: check MTU for a minimum in geneve_change_mtu() geneve: configure MTU based on a lower device drivers/net/geneve.c | 72 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 61 insertions(+), 11 deletions(-) -- 1.8.3.1
