Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2474184ybl; Thu, 9 Jan 2020 13:25:33 -0800 (PST) X-Google-Smtp-Source: APXvYqymtYAZnxcMmuYdR70N6UmM9jJ8pHrJKBp8pqMozHZKzJ/r8OHtYTKyZm7PBhTHDRSfsh3A X-Received: by 2002:aca:fdd1:: with SMTP id b200mr4620026oii.133.1578605133862; Thu, 09 Jan 2020 13:25:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578605133; cv=pass; d=google.com; s=arc-20160816; b=BuZ/wd5X0dkfRRn098w1ONa2M4KzVjNpvAXhs4FlvlK9/bD48zZ4TQLqY3ln518uM9 zYijC7pKqyS0nTCGo7a76ophbSJjJUgUaiBFTA7o44/G7p8ZPAtkT9m5VWRzCdiEDG6l TeDP8o8rBApAkll2+dYokc0bHeQZ5KHCxROFTlzbQytuu3xnq3DTqFtLlwidMbZYLRKe rseutsQ0estqWHZgVa9MTr5foNxhf1/ywwfC0kTyEdBKJvbGGFYLs5UHBpnlIslNq3Ul LWG4MRvak5bUX8uYYUlOidLpjpa5SWlC0TGmBGM8elwUXAqnxizOEIChd+oaXWtI5sg4 ZuyQ== 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=gBAfi1/PvoSnQjH9fVVxJEo/ngl0Uf30cjyzqqJdSqQ=; b=LH3J6Ij/NH9NemtO+4lwXlNMyQSI1AlOGX9zLSBEvXts68xxReh1g/lm5ZCaYDEepO QHhMtTXeuPdhGtAp5HfECd3tEGTkRukKUmsKywmsBemOrwxswe9DFbtYaVMLsgeuu2gI pVN2kRx7oom5jj9xdaxwXrG4Oa+UD5D72RZ35XAsC6KvTWd9L9Q0Xq0VJv4souOTBCrQ e9Gr18BQYGw5kXs3QgaSMZreO4NIQM+4GoQehn9weyxG7RYEjRdY8qtFfafZGWRUhaaz sncl6MsERWQLA1qYfwvQ7WLH+7tHoI4/SW0KG4V+pyn3fdzsgvQlzApFTPjXkjEGrS62 5rEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=LjR5mu3p; 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 v1si5176403otf.161.2020.01.09.13.25.21; Thu, 09 Jan 2020 13:25:33 -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=LjR5mu3p; 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 S1725829AbgAIVXv (ORCPT + 99 others); Thu, 9 Jan 2020 16:23:51 -0500 Received: from mga18.intel.com ([134.134.136.126]:62703 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgAIVXv (ORCPT ); Thu, 9 Jan 2020 16:23:51 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 13:23:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,414,1571727600"; d="scan'208";a="236141277" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 09 Jan 2020 13:23:50 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 13:23:50 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 13:23:49 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 13:23:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cfIp03GYPQgiEHCFaIML/KLaczAp8Bov0eD3UUaHBYzwo+RXlDmisORFqn83sepfMhw128iFCRFTgpIuTI8MO7tnjq4lbWyFE6L61UCVSjwm/wwAOtq+PtW6Kw59PvX4y1+WHn8+j3cuSBu9bOQGQLEfAJZGroWVlVy7QegMSWZtCd6ANLF05EagldM9oDL4q+ghT7SBES88Z72IvLEroq7s00GSqO5ZnVo5Xmtf+gtqra36N0hC2Eiq1n7k3pbFwP7o4htyhK4JBkoF9xKsncbjXbRElHGuekwRLcoTMbFoTiVj9Dxep18qhVv/W3BI6YFInJTM1PAyB3x5OgA2WA== 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=gBAfi1/PvoSnQjH9fVVxJEo/ngl0Uf30cjyzqqJdSqQ=; b=RhICJjYsnsNX2PNnLDnm4gAgumaff8dE+n3FnT830kvGf2qn6zrH2E3TB8oDz1sKJTI/B9uGsS8R2xY8g3xlyamO/R2Tpqq2qaTJY0oNKMNnbzT+e6y/yf/cv0uJRpICbPNdfsuU4pV9nrPWWDxBL7onJXc3/2xXEvvhI2UMMpascvnh4OoFj2Y6EbqkjLo27opGf7DuNVGi4uTWP2BbIOVeqKDI67Ycwi3R9cnEcDKu2dldxAunazFD2/Y+32Vl0/PQ9uwp5L3/ElZGHK4FmaNvwDFSOjFkrUkExmNyhSz/jwMmly0x913e3HvepNLZYXsFfwzBmblzpnje/VQtZw== 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=gBAfi1/PvoSnQjH9fVVxJEo/ngl0Uf30cjyzqqJdSqQ=; b=LjR5mu3pJly+cVd0hJSBRQru0vhoeT9JjY8rnAu2YAFtCL/4Dyvn6rArzrbCtF+5nE3Ru62/MJICnT2daYBdSlIigkDMGs8XAVT336L1LsUkM5gg61Spp/kC7gRuE8qn1ZSRnz4kmRLkw/fpD5Zx40Z+9ItwsQ9j/ATyZUbdpMs= Received: from SN6PR11MB3520.namprd11.prod.outlook.com (52.135.124.204) by SN6PR11MB3327.namprd11.prod.outlook.com (52.135.111.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Thu, 9 Jan 2020 21:23:34 +0000 Received: from SN6PR11MB3520.namprd11.prod.outlook.com ([fe80::ede7:c158:93c:ca45]) by SN6PR11MB3520.namprd11.prod.outlook.com ([fe80::ede7:c158:93c:ca45%7]) with mapi id 15.20.2623.010; Thu, 9 Jan 2020 21:23:34 +0000 From: "Stotland, Inga" To: "michal.lowas-rzechonek@silvair.com" CC: "Gix, Brian" , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ] mesh: Correctly generate NetKey list Thread-Topic: [PATCH BlueZ] mesh: Correctly generate NetKey list Thread-Index: AQHVxxZodwkQV3uMbEymAVqZHxHaiqfi0V0AgAAGjYA= Date: Thu, 9 Jan 2020 21:23:34 +0000 Message-ID: References: <20200109175715.22925-1-inga.stotland@intel.com> <20200109210006.e3qv6uxnr2w3isc5@kynes> In-Reply-To: <20200109210006.e3qv6uxnr2w3isc5@kynes> 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=inga.stotland@intel.com; x-originating-ip: [192.55.54.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c70b6e6-5187-4d7a-a3d6-08d7954a2ed9 x-ms-traffictypediagnostic: SN6PR11MB3327: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 02778BF158 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(189003)(199004)(8676002)(2906002)(5660300002)(64756008)(66556008)(81156014)(54906003)(6486002)(8936002)(81166006)(36756003)(6512007)(66476007)(66946007)(76116006)(91956017)(86362001)(66446008)(26005)(6916009)(498600001)(2616005)(4326008)(6506007)(186003)(71200400001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR11MB3327;H:SN6PR11MB3520.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: x4lvIdNq7XfFcT/t0NwGhykJfVOCfLFEgkor+OvdWCO7hN3PiJPWiBXXvLUGKvNVAvSEeP8BrQ9Xc98U1tvLtCeNgxEqao7CGel0nrOMth1rpqGXBXhreK6gKIMTQ9SwYxowgYOubysRnprExqCdaCjMhsbg7m8v1OrsRAGTKlO3EAWk/lvb+2hU6Oi1Tdy7YewFhuqJc8kMUZ96QaYGzxEyk660kTKkmj8WucQWBECfknnTCEPQzzfAToZc0ZQF3mzxlFNcRzRa2hJCDibYakjk+Ddmv22dQnLLDsKldWvO3hZNFZqi6reHWS9JigMjq1S7j13kneQOud2v3OSzMa8BKJG2QOsNSV05RkdyqAkogy4TK6wCBWQP105sMPx+XaDE7lSm0XoKKVbN0SXPIOj4vERxoYbrD2+nFEgSx5nozNYpDpY6uo+4JC3Sn5bH Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1c70b6e6-5187-4d7a-a3d6-08d7954a2ed9 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2020 21:23:34.1078 (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: KgmEz8PGmzdhv4DfS3dmrYkbHMuIJedMM97fAsLFxS8k8+ExJPpE4Moiwm6bqDL+ohZUwQO/WAy3OYvI4UHHLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3327 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgTWljaGFsLA0KDQpPbiBUaHUsIDIwMjAtMDEtMDkgYXQgMjI6MDAgKzAxMDAsIE1pY2hhxYIg TG93YXMtUnplY2hvbmVrIHdyb3RlOg0KPiBIaSBJbmdhLA0KPiANCj4gT24gMDEvMDksIEluZ2Eg U3RvdGxhbmQgd3JvdGU6D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