OSDN Git Service

Merge branch 'geneve-mtu'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:20:06 +0000 (11:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:20:06 +0000 (11:20 -0400)
commit2ed021255b8a1351209d9407bcae41f5ff6657c7
treed8bcd490b48b2f93f91f7da0e8e96ac7336958f3
parentf1d22a1e0595639bcfef9941ebc0e3cfe9711009
parentc40e89fd358e94a55d6c1475afbea17b5580f601
Merge branch 'geneve-mtu'

Alexey Kodanev says:

====================
geneve: verify user specified MTU or adjust with a lower device

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>