summaryrefslogtreecommitdiffstats
path: root/kernel/net/openvswitch/vport-vxlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/openvswitch/vport-vxlan.c')
-rw-r--r--kernel/net/openvswitch/vport-vxlan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/net/openvswitch/vport-vxlan.c b/kernel/net/openvswitch/vport-vxlan.c
index d933cb89e..5eb769434 100644
--- a/kernel/net/openvswitch/vport-vxlan.c
+++ b/kernel/net/openvswitch/vport-vxlan.c
@@ -91,6 +91,8 @@ static struct vport *vxlan_tnl_create(const struct vport_parms *parms)
struct vxlan_config conf = {
.no_share = true,
.flags = VXLAN_F_COLLECT_METADATA | VXLAN_F_UDP_ZERO_CSUM6_RX,
+ /* Don't restrict the packets that can be sent by MTU */
+ .mtu = IP_MAX_MTU,
};
if (!options) {