Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5295920ybl; Tue, 14 Jan 2020 06:42:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyg0qMc/JYb7Boibw4cxvCe4ldqMnmHeNbKi8tlPqIUoxNvLBr885kfQ1FSkwSBe9dxVT/N X-Received: by 2002:a05:6830:1b7b:: with SMTP id d27mr18136749ote.78.1579012977010; Tue, 14 Jan 2020 06:42:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579012977; cv=pass; d=google.com; s=arc-20160816; b=Xd1/euJesNqWlvT6sk2/orHJpM09AIysekDvXtpbPb/kJyU7pVLF1z7n1SwbVTumT9 soHPncDANFgQ4pIxa8QOnK+r/DgI1kE+QIsawCeLuHAcZM/s4N53AW6sjeWOkAOiikI3 HtMFPV5XRU/Czrgoa3q//84d9c0pkUthaGYm5ZWARhjVZGzrx0jwGIWkhKxAnrM54E3m QwcWCWNBXSlyDQcFuFuEpLiGZzAJRPF0ToOZkeG9513P7DVMuYcdmjZ+zdr3Z8+78nb0 MxD/XVTmd64e6dsEgtjTyi7zvHn7Mkqks4HGVAXTHZjkaeWFIfwpFeMOBJ7cS9snElQt opBA== 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:to:from :dkim-signature; bh=I6afhACUzfwu4chxz50Job6KhiC1i5Ug8TTY0SIDl4I=; b=PhcGl3DP86nGpftvEm5T0yu3pksrRkQp3ekUp/viyZBDqTghwqzUXjWDKN0rfAfIg8 vaT/lOdibj5BcohihQRaYdw4QUzgmggT9/t0ZrN8C9sv3/Wmi7d4WugNSPrR/rd7vEae Dj5LXr8u6ZIH91XsvDuQ3FZTmB+NtJTK0W248uyPRNCwQ1/Tsk94tR6qlzVXllhBzRAt FWygzC5IT1O5nSSZjQway3GM5nzATfjIzWaoheMVXex0vrEK8aecM/i3DUvcSVLkhUo9 TccYjA/FliRf1hhWA86oxLp4e27Xuz54JesEVdFA3HVdVrek+3bl1DvdkfbZFFaG0qIT G7bQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=VRfWDG+a; 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 i10si8660666otk.195.2020.01.14.06.42.46; Tue, 14 Jan 2020 06:42:56 -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=VRfWDG+a; 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 S1726197AbgANOml (ORCPT + 99 others); Tue, 14 Jan 2020 09:42:41 -0500 Received: from mga06.intel.com ([134.134.136.31]:31649 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727285AbgANOmk (ORCPT ); Tue, 14 Jan 2020 09:42:40 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 06:42:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,433,1571727600"; d="scan'208";a="248064168" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 14 Jan 2020 06:42:37 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 06:42:37 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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:42:37 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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:42:37 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 06:42:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bq9dGu2t1+/9jm9sQxNsua6b40e8Cybl24A767BGp3mItAqoZy7hs+6U2/CsrxGq8ASpho8DGSK3qJ1iv+2DTQIbmYqu2kKL4cecNwmn/cKRNjwHMBagjX9Kuykc+PEZGk39FKlxGpkwq5pwTji/yCKEJzgDmffcYRGAfDJggzg4cBXySrZrysWZ2mP3D9wm2rHeDcf7rhEXFgT38UOp2zyNDwf5ylkJxZXN3kC9Xe6DlXnHGXe6L3HW0Y4jthbF1JMmgQqHEWQ53MbpEKvSQuMF98CCiCqT4DEEAskvLoJg3MN3HjcGacj76aJsBWgUG9RtFxxL1uAhl+e5Ad4wKg== 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=I6afhACUzfwu4chxz50Job6KhiC1i5Ug8TTY0SIDl4I=; b=B5w75IadvtSX8RY9Mj0XqpF7P7B9Yu5DXp3iIKPJAZx8hs8xi9kx1yMAelW15IMdSj9g+hzQyGpmONwC1apfGTKNTlCxoh8YVADDf+1BiOSnHvhnSiIkpSYlSiqMXPWWIrjc2I0y90BVsLl6esVQapeq7sS3/vETQZPXg5IIQZYrXf5s+KW4DUhSxIOPI4OKn+MwLwR0ef6iuJqLeBsw1hsEDUM31rzqTh0xUs4+oLy+eRQzSCulXD8Jx7+i0j4T6yvc2t3nggrNEkm6ZmooBx8AI7uciGZ8L7xDIUbK3qJAD31ufwLrm162/AVZhgzQH0u6/TzlKWv3nPE/cWT9/w== 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=I6afhACUzfwu4chxz50Job6KhiC1i5Ug8TTY0SIDl4I=; b=VRfWDG+aIkZRw7PzpV6kocXyr56yb2HVh0cTWKTPLWEZH7TdMPJRPR2lf/3NdMiAEdf0ayFkuQ7h8BmTOQxOFO1Q/GxXe1pHOVerbshVv/z+LbhQ76kxRVWmEN3J8MIBAsS5Ivuipo2BSXzoLKA5zUo01ZeAAL5pjU9Ct94Wg2U= 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:42:34 +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:42:34 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ] tools/mesh: Remove node's appkeys when deleting a netkey Thread-Topic: [PATCH BlueZ] tools/mesh: Remove node's appkeys when deleting a netkey Thread-Index: AQHVx1jLPthC+HP8R0Os75B+tKrj46fqQwSA Date: Tue, 14 Jan 2020 14:42:34 +0000 Message-ID: References: <20200110015320.2160-1-inga.stotland@intel.com> In-Reply-To: <20200110015320.2160-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: 40c87183-6633-4462-fee0-08d798fffe19 x-ms-traffictypediagnostic: MWHPR11MB1805: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(396003)(39860400002)(346002)(366004)(376002)(189003)(199004)(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)(2004002);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: 350RwEbtIL0F5zItYSCeNblGZY2ZOSjbtXAC2TaoJfEFn1Ym4uOw0m7HeM3O7TPscJ9NQuwyaNRMs6idZgwGp6lJ5nj19ylMg3r6ImIbdZOCaykw7TOehWh5rzfSQkJJ4SOs31jN1FQG8YKDo0AqyeTjeNVGvkZZJnjSxRCLNmlIRE45GV79b3jR9GJ01CJLQN1cEvq5HxsQtpnuwwvlwejkIB3qwSIFs88FzDfuBkJ+/khjhlsBbaBT66WYxA7Ke/iZYeiQqOKhId7iSjS5vq1gRGPYqnT0xBHnr1akCQfgJm+y8w1bKJLG/pMnySCuG8juHJDl0fxs/dohgH4T2KrpJ/jgG+3JCZm7U86Jppwtv8SqCM5fKitBcwMwcBi7OuzlPkemGTQudW6+E4aU/nF28ZHyTnFScNrPyO8qRDIuBujVzNyeAh9X4Q3+JCELnaaXQHQgqptJtAWllaND3k8Hb8N8bTQoRnA9fVoPuMg= Content-Type: text/plain; charset="utf-8" Content-ID: <74663AA3BF49AD4A8A87FD0FB2ED4FD0@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 40c87183-6633-4462-fee0-08d798fffe19 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 14:42:34.2983 (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: g5+X6aCXzYBofDjjNS7EaC1xPP9IvhOjC/TJ7egJENFq2skxVgAtF0kFAm4BEaIoBSdOsCkgBkPDIranX8KNfg== 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 QXBwbGllZA0KT24gVGh1LCAyMDIwLTAxLTA5IGF0IDE3OjUzIC0wODAwLCBJbmdhIFN0b3RsYW5k IHdyb3RlOg0KPiBXaGVuIGEgbmV0a2V5IGlzIGRlbGV0ZWQgZnJvbSBhIHJlbW90ZSBub2RlLCBh bGwgdGhlIGFwcGtleXMgYm91bmQNCj4gdG8gdGhpcyBuZXRrZXkgYXJlIGV4cGVjdGVkIHRvIGJl IGRlbGV0ZWQgYXMgd2VsbC4NCj4gVGhpcyBmaXhlcyBhcHBfa2V5IHF1ZXVlIG1hbmlwdWxhdGlv biB0byBhdm9pZCBpc3N1ZXMgY2F1c2VkIGJ5IG1vZGlmeWluZw0KPiB0aGUgcXVldWUgd2hpbGUg aXRlcmF0aW5nIG92ZXIgaXQ6IGluc3RlYWQgb2YgaXRlcmF0aW9uIG92ZXIgYWxsIHRoZQ0KPiBl bnRyaWVzLCBmaW5kIGEgZmlyc3QgYm91bmQga2V5LCBkZWxldGUgaXQsIGZpbmQgbmV4dC4uLiBh bmQgc28gb24sDQo+IHVudGlsIHRoZXJlIGFyZSBubyBib3VuZCBrZXlzIGxlZnQgaW4gdGhlIGFw cF9rZXlzIHF1ZXVlLg0KPiAtLS0NCj4gIHRvb2xzL21lc2gvcmVtb3RlLmMgfCAyNSArKysrKysr KysrKysrKysrKy0tLS0tLS0tDQo+ICAxIGZpbGUgY2hhbmdlZCwgMTcgaW5zZXJ0aW9ucygrKSwg OCBkZWxldGlvbnMoLSkNCj4gDQo+IGRpZmYgLS1naXQgYS90b29scy9tZXNoL3JlbW90ZS5jIGIv dG9vbHMvbWVzaC9yZW1vdGUuYw0KPiBpbmRleCAyNWU4ZDIzZjguLjUzM2Q1OWIyOCAxMDA2NDQN Cj4gLS0tIGEvdG9vbHMvbWVzaC9yZW1vdGUuYw0KPiArKysgYi90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