]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
geneve: Relax MTU constraints
authorDavid Wragg <david@weave.works>
Fri, 3 Jun 2016 22:58:14 +0000 (18:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:18:18 +0000 (10:18 -0700)
commit51d7c394605bd5d72e76745def0002dd938ec48b
tree82399e0cff02fc65f8240bb0fdf611b050f1ee64
parent3dc443059897b8a2fa3e3b18f794ee31c0063730
geneve: Relax MTU constraints

[ Upstream commit 55e5bfb53cff286c1c1ff49f51325dc15c7fea63 ]

Allow the MTU of geneve devices to be set to large values, in order to
exploit underlying networks with larger frame sizes.

GENEVE does not have a fixed encapsulation overhead (an openvswitch
rule can add variable length options), so there is no relevant maximum
MTU to enforce.  A maximum of IP_MAX_MTU is used instead.
Encapsulated packets that are too big for the underlying network will
get dropped on the floor.

Signed-off-by: David Wragg <david@weave.works>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/geneve.c