Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp144755ybi; Fri, 26 Jul 2019 07:27:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpBD2LrrzrOx/cCaurT3TfU45KA2qYtkSeikgNK30sZLslHlRKqet+077P5q09XinhSlTF X-Received: by 2002:a17:902:76c7:: with SMTP id j7mr93702521plt.247.1564151227955; Fri, 26 Jul 2019 07:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564151227; cv=none; d=google.com; s=arc-20160816; b=cz0uBDSNgOa2vONvSce5aM9Xs6AQPTLQ+If91FnH3WXSEn19BKOLGVeBo8c9lfqDQg ie5vnT1N0tV7kRCs4t9NqGyGuY24hbSvJ4DsBXrxVzBMvj8T2L9O64AWS+RjFJopwGPh 0+bpyLAAYhEOISCqVxKccZ44CFak9W+t6oar/RMt3dgcmRJT4k58x59ktrCdG3wD/Q5v +FG3iW403BGksRyvS1qy+Q4mUVd8kmYzCQfo72oZ5Bnlls+LxQ8+p+L+3GaMH8LOgKwz kwCU+rruNpe23ka6FTGY1I8CB+La9dJjK84ILP2QofPztmHjzjUnUiJVjTLuEm308Ara 9IKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=H6e6Bu/59uA42FvqEETZ7UgCVgXRMm2j5loxsBacI18=; b=OV/JrtacTNFLC515h2eNXEp6bKjD6G4nJgQDvFiCNSxhZSDMtqWzFxRBHpNhcx603Z cksAAUYBZCviKl4qEhU2qZZMaqiKofr9fPif4mJgP6oTpsWP84g6G/Sz3Of1q1gSJrtD CIIHEN7QKJpa9aXBmHOcLknqvSTVA0RrdJVopmOYiWRsQvgQA3TIVkBPNtZiiUDdf1A+ IRiNkXFJLt+HoPiezofpcmsmIAQRezV4oHBLwRlO8LkgJ+M01Pp1OcYiU3ffQeMztFW2 ZTlswofkFVnLmZCeDAn6kT+tIWDl4HOFxq+MQBDDJEP36OyA3FaXx7orDvwFtUF5Vn0Q wScA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si19426967pgv.492.2019.07.26.07.26.38; Fri, 26 Jul 2019 07:27:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbfGZOYs (ORCPT + 99 others); Fri, 26 Jul 2019 10:24:48 -0400 Received: from mga17.intel.com ([192.55.52.151]:28022 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726731AbfGZOYr (ORCPT ); Fri, 26 Jul 2019 10:24:47 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2019 07:24:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,311,1559545200"; d="p7s'?scan'208";a="161320707" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga007.jf.intel.com with ESMTP; 26 Jul 2019 07:24:46 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.29]) by ORSMSX109.amr.corp.intel.com ([169.254.11.170]) with mapi id 14.03.0439.000; Fri, 26 Jul 2019 07:24:46 -0700 From: "Stotland, Inga" To: "michal.lowas-rzechonek@silvair.com" , "linux-bluetooth@vger.kernel.org" CC: "Gix, Brian" Subject: Re: [PATCH BlueZ v6 0/5] Use composition data to validate app against the Thread-Topic: [PATCH BlueZ v6 0/5] Use composition data to validate app against the Thread-Index: AQHVQ3xvBn6rMzF7yUOrj0zlGROxhqbdah6A Date: Fri, 26 Jul 2019 14:24:45 +0000 Message-ID: <6a64704d5d247f969758149a0df77c4465aadade.camel@intel.com> References: <20190726063606.19359-1-michal.lowas-rzechonek@silvair.com> In-Reply-To: <20190726063606.19359-1-michal.lowas-rzechonek@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.254.41.210] Content-Type: multipart/signed; micalg=sha-1; protocol="application/x-pkcs7-signature"; boundary="=-E2cqHTIRKQq5igTHQrDI" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --=-E2cqHTIRKQq5igTHQrDI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Michal, On Fri, 2019-07-26 at 08:36 +0200, Micha=C5=82 Lowas-Rzechonek wrote: > Thanks for your patience :) >=20 > + Fix brace style > + Fix comment style > + Fix typo when assigning element paths in attach_req_node > + Fix setting app_path and owner during Attach() > + Fix typo CompanyID property validation > + Added comments about temporary node usage during Attach() > + Keep element's Location property optional according to API > documentation >=20 > --- >=20 > This patchset streamlines app validation by creating a temporary node > during Attach, Join and CreateNetwork calls, then validating its > composition data to: > - fit in Config Model Composition Data Get message > - declare mandatory models on primary element > - declare consecutive element indexes >=20 > During Attach call, temporary composition data is also compared with > data generated for existing node, guaranteeing immutablity required > by > the specification. >=20 > Micha=C5=82 Lowas-Rzechonek (5): > mesh: Convert void pointers to anonymous unions in > managed_obj_request > mesh: Validate application by comparing composition data > mesh: Keep element and model lists sorted and unique > mesh: Check that element indexes are consecutive > mesh: Check that config server is present in primary element >=20 > mesh/mesh-defs.h | 2 + > mesh/node.c | 556 ++++++++++++++++++++++++--------------------- > -- > 2 files changed, 290 insertions(+), 268 deletions(-) >=20 The patch set looks good. Thanks, Inga --=-E2cqHTIRKQq5igTHQrDI Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKbDCCBOsw ggPToAMCAQICEDabxALowUBS+21KC0JI8fcwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UEBhMCU0Ux FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5hbCBUVFAgTmV0 d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0xMzEyMTEwMDAwMDBa Fw0yMDA1MzAxMDQ4MzhaMHkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEUMBIGA1UEBxMLU2Fu dGEgQ2xhcmExGjAYBgNVBAoTEUludGVsIENvcnBvcmF0aW9uMSswKQYDVQQDEyJJbnRlbCBFeHRl cm5hbCBCYXNpYyBJc3N1aW5nIENBIDRCMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA yzuW/y/g0bznz8BD48M94luFzqHaqY9yGN9H/W0J7hOVBpl0rTQJ6kZ7z7hyDb9kf2UW4ZU25alC i+q5m6NwHg+z9pcN7bQ84SSBueaYF7cXlAg7z3XyZbzSEYP7raeuWRf5fYvYzq8/uI7VNR8o/43w PtDP10YDdO/0J5xrHxnC/9/aU+wTFSVsPqxsd7C58mnu7G4VRJ0n9PG4SfmYNC0h/5fLWuOWh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