X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fopenvswitch%2Fvport-vxlan.c;h=5eb7694348b5b82a3e80dc6262912eef441ec88e;hb=3635bb84e671aeb227c15bbfcbf6a7d0c59e6a78;hp=1605691d94144aee0fc50ffb17be05eca2b59675;hpb=ccf21b69a83afaee4d5499e0d03eacf23946e08c;p=firefly-linux-kernel-4.4.55.git diff --git a/net/openvswitch/vport-vxlan.c b/net/openvswitch/vport-vxlan.c index 1605691d9414..5eb7694348b5 100644 --- a/net/openvswitch/vport-vxlan.c +++ b/net/openvswitch/vport-vxlan.c @@ -90,7 +90,9 @@ static struct vport *vxlan_tnl_create(const struct vport_parms *parms) int err; struct vxlan_config conf = { .no_share = true, - .flags = VXLAN_F_COLLECT_METADATA, + .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) {