Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5298473ybl; Tue, 14 Jan 2020 06:45:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwe7BjALMy1XCWD3DjHOn6vuTIs/eaQFiS/c0ZCoR7iOjl6gDMMI0SLSDaeIZVWsddhOn9Z X-Received: by 2002:aca:cf83:: with SMTP id f125mr16296259oig.15.1579013129359; Tue, 14 Jan 2020 06:45:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579013129; cv=pass; d=google.com; s=arc-20160816; b=I0GQ2Gqw6KnwAUhqlDIUUpTsDLM3vR3cx1nB8mqFT7aq5pt+jQYE9k5FLm99KaSFCS hmi3jG5qJ7pTDJwlEzAjwz/cy8qGbFRTyeYfHFUGisqP/k6Z0fohJ0Ro7soQLRIPyjrQ kmc41hnLihdYuDmqBRpw4KlD6Gzcquu803mhE/z7mDkJ10jZREmCUJ5DgpdpakpYjCRV R8rYLhq/1Jj54zmlv/ZLfDv/J+XENzOrWZvL1yQAT8i/p1RDAip8ePw35SjomHH7TROy DM/LKkqLQJTK6taZ8JksxpmP5AnN0XObIOKnFIgfKzUBYuM6bM2wECkCfX9J9cdkURal QUJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=pVVwdlw5FfaYTpMYgfcALS/6q22l/Sq19NwEqh+ue6w=; b=EiCTuVg4ThCMhQaQ8qG8T9AfqB5dUx9peNvq+3EbRQbaoWiKkSDywWkyjUMIYEqv2v Bs1GZQwOR1BbH8xABfwlRaXhkg0IQq5A6LNRZ8v/+3P8tQ+4/EAVI1xEV4sNYVk3HiAr cCqaXDvhDHQbzy1jl4/wbBjh+rCG4FK3fUtgPUv8ghfaz1R1/RhwCi9CdENd4X8hVuyx puAELzXHu81FN2Srb6b/up1LLaQVMHrbtHgRo13ktJQdRqTGVKkfDtb4OJVoqusW43fH MmWTQsvveaxnthqYyYfGlYl05HGYdkCifGUmsm8FlWft9ShTba5Pz+rDmFnK6SFJD+c1 8MSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=LAaejlTb; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 q7si7804179otn.108.2020.01.14.06.45.18; Tue, 14 Jan 2020 06:45:29 -0800 (PST) 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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=LAaejlTb; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 S1728925AbgANOoC (ORCPT + 99 others); Tue, 14 Jan 2020 09:44:02 -0500 Received: from mga05.intel.com ([192.55.52.43]:18706 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728868AbgANOoB (ORCPT ); Tue, 14 Jan 2020 09:44:01 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 06:44:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,433,1571727600"; d="scan'208";a="305163217" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2020 06:43:59 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 06:43:54 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 14 Jan 2020 06:43:54 -0800 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 14 Jan 2020 06:43:54 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 06:43:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HRZG/+5c5MmvhYemxKHyRcABp1iEJ1KKD1B56PoD9QmhFnGK6mCXD6b13AjAz/U2DSktVYj/Z1xVKj2xtcm/G3lm2Jb1uG/vP4GwP6LCB9Xep9YfKdPvFiHC+/qfTk6gGBZdh56bjcQ17Y4I6rG+4CFpR2gJeTHNZsDvf3dNadB08juxdnbosIizelh8XR9nCm+ZMEri9/nVedwB+pBb15D5619tlhGU3TZD8q51TBD4oiDoVh2Tf8aGa8ogdaSS/Ycday5+91E3xAEv9/zwWLMsOEf+4VbBPcrO9xMG6BGM7+wfvjxNL3GsBnzqcetAnnaMjzeEHG8VUGrdkUFucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pVVwdlw5FfaYTpMYgfcALS/6q22l/Sq19NwEqh+ue6w=; b=ZN582AHqv/hVhAWG6RKnQj3Lx0QPze5IfFB8WGUgLJfAyIE0uZUYMLHAHGRXfpSFZgLU0haPz8q0FnHttO/ESvh0xXhE1o7fDVAfQZf61lML/LEWThg9g0IW5IFJYKOOzlVCWfSMdBoYaX7yPKHJL5Xb0SqpVurV7IwHpp6OAeYsErid87yMq39aacGxLSQ2GGScBvaFsZ/RxaAWSGhNuHzD1V3rK2KD8CEMdoH3CarDea3s3eKAMNSpLtggo2SDCmp4nwqqrsTs8iARkHbCuM8rALSIfseSlQEP/YVZFsblwMJTtMlucXStKN3ZQrV2svl4lOGfGZpmwrGoc1U0ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pVVwdlw5FfaYTpMYgfcALS/6q22l/Sq19NwEqh+ue6w=; b=LAaejlTbqlixO4Tbqp3wWKEE1yLbAjmyal6kzUBqzI7S+2Vdy5owZw0cwe9roimTBgWrLyWYPxODpu1cYi9LcFpe2Bsn+ckDVhpcg+BCXyFWXHDmnZ9V2WQJy6shlBSl9MAHDLX59ICUqupO+F57FrFDPONfLal8mU39bijZLSg= Received: from MWHPR11MB1664.namprd11.prod.outlook.com (10.172.54.13) by MWHPR11MB1805.namprd11.prod.outlook.com (10.175.56.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Tue, 14 Jan 2020 14:43:50 +0000 Received: from MWHPR11MB1664.namprd11.prod.outlook.com ([fe80::e8fb:c0e8:5779:367e]) by MWHPR11MB1664.namprd11.prod.outlook.com ([fe80::e8fb:c0e8:5779:367e%6]) with mapi id 15.20.2623.017; Tue, 14 Jan 2020 14:43:50 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" CC: "michal.lowas-rzechonek@silvair.com" Subject: Re: [PATCH BlueZ v2] mesh: Correctly generate NetKey list Thread-Topic: [PATCH BlueZ v2] mesh: Correctly generate NetKey list Thread-Index: AQHVxzd3EZlTeGzC00qhSwGAdPcfYqfqQ6GA Date: Tue, 14 Jan 2020 14:43:50 +0000 Message-ID: <937f6c4d1f2cf13c619e846a48520a764bcb1012.camel@intel.com> References: <20200109215432.28295-1-inga.stotland@intel.com> In-Reply-To: <20200109215432.28295-1-inga.stotland@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [192.55.54.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ce095713-58cf-4d15-c1bd-08d799002b5b x-ms-traffictypediagnostic: MWHPR11MB1805: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(396003)(39860400002)(346002)(366004)(376002)(189003)(199004)(4326008)(6506007)(478600001)(6486002)(36756003)(91956017)(66476007)(6636002)(8936002)(81156014)(8676002)(76116006)(81166006)(71200400001)(2616005)(6512007)(66946007)(110136005)(2906002)(66556008)(5660300002)(64756008)(66446008)(86362001)(186003)(316002)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR11MB1805;H:MWHPR11MB1664.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DsebApcYze2u30fYLv809FBy8ibLiHrADEBEA6h5VXhcTgDFpGvgVj+6eugOeQA62sSbka/Nhw2hH5vFe2RXWWR1UopMVnrEF7n1FfPVn/dWzJaxhhHLWOfoC/BD+BtJOZ8Hi9oCeNccacfV/y2O8jD/EMUbPvQdypsWpEczXOBmIZnIMp+HJjnJ0Hf44Zr4UQkV7zocTZX/7kndc7o+smp0i0imrmMMuaAqAMWMx7XnCyU7521hcx7dV8PKeEiwTo+s4ukh9yUcRQFqsPDj4HsjgfXHz0wna6t9mANks1VXc4qQD3y1wLVJ6riCH+8+8UNfMWqWVdBveSJvbmIdGwMbYYVzB8XiHeYxjnjwJneFdbkefjsAf2M4m5anvZkiPXcf8z8g1QiDqoCkBWqSo4H9Nwmtms6ieDC6rbk8NoRgBjHrm8yeYuzB1OqqIpoO Content-Type: text/plain; charset="utf-8" Content-ID: <0CB4B277D3EF5444B72ED3D06808C0A1@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ce095713-58cf-4d15-c1bd-08d799002b5b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 14:43:50.1568 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ReCKJ889/CfjSwV6nDcTLiYrAytVyv5hx7CIhEXlQmEWLOORPgBWXNwQkxb8BNUh4tE4MBtA+qGG9/m4e9ZC0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1805 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KT24gVGh1LCAyMDIwLTAxLTA5IGF0IDEzOjU0IC0wODAwLCBJbmdhIFN0b3RsYW5k IHdyb3RlOg0KPiBXaGVuIHJlc3BvbmRpbmcgd2l0aCBOZXRLZXkgTGlzdCBTdGF0dXMsIHBhY2tl ZCBOZXRLZXkgaW5kaWNlcyBpbnRvDQo+IDMgb2N0ZXRzIHBlciBwYWlyLiBJZiBudW1iZXIgb2Yg TmV0S2V5cyBpcyBvZGQsIGFwcGVuZCB0aGUgbGFzdCBrZXkNCj4gaW5kZXggYXMgYSAyLW9jdGV0 IHZhbHVlLg0KPiAtLS0NCj4gIG1lc2gvbmV0LmMgfCAzNiArKysrKysrKysrKysrKysrKysrKysr KysrKysrLS0tLS0tLS0NCj4gIDEgZmlsZSBjaGFuZ2VkLCAyOCBpbnNlcnRpb25zKCspLCA4IGRl bGV0aW9ucygtKQ0KPiANCj4gZGlmZiAtLWdpdCBhL21lc2gvbmV0LmMgYi9tZXNoL25ldC5jDQo+ IGluZGV4IDBhNGQyZTcyYy4uZGZhZjdjY2VmIDEwMDY0NA0KPiAtLS0gYS9tZXNoL25ldC5jDQo+ ICsrKyBiL21lc2gvbmV0LmMNCj4gQEAgLTEwNjUsMjYgKzEwNjUsNDYgQEAgYm9vbCBtZXNoX25l dF9nZXRfa2V5KHN0cnVjdCBtZXNoX25ldCAqbmV0LCBib29sIG5ld19rZXksIHVpbnQxNl90IGlk eCwNCj4gIGJvb2wgbWVzaF9uZXRfa2V5X2xpc3RfZ2V0KHN0cnVjdCBtZXNoX25ldCAqbmV0LCB1 aW50OF90ICpidWYsIHVpbnQxNl90ICpzaXplKQ0KPiAgew0KPiAgCWNvbnN0IHN0cnVjdCBsX3F1 ZXVlX2VudHJ5ICplbnRyeTsNCj4gLQl1aW50MTZfdCBuLC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